Thank You for your continued support and contributions!
textfile_text = rb->read("ABC.config");
Code: [Select]textfile_text = rb->read("ABC.config");But it isn't working. What am I doing wrong?
ssize_t read(int fd, void *buf, size_t count);
The questions you've been asking basically seem to suggest that you're just trying to guess your way through this.
int fd; char test[20]; char filename[] = PLUGIN_APPS_DIR "/RockLock.config"; fd = rb->open(filename, O_RDONLY); rb->read(fd, test, sizeof(test)); rb->close(fd);
it's just that I think rockbox would have a lot more developers if they wrote some documentation. Not that I haven't manged without it, but still, it would help. I'll admit that I was lazy in this instance, and had only about 10 minutes to work on it. (I'm a very busy guy.)
Which is absolutely not the case. I know 6 languages:
(I'm a very busy guy.)
Page created in 0.087 seconds with 15 queries.