Fix a compile warning.
[kugel-rb.git] / tools / checkwps / file.h
bloba14d7f5b910241469f7f6e7f4fab11a0787d158d
1 #ifndef MAX_PATH
2 #define MAX_PATH 260
3 #endif
5 /* Wrapper - required for O_RDONLY */
7 #include <fcntl.h>
9 extern ssize_t read(int fd, void *buf, size_t count);
10 extern ssize_t write(int fd, const void *buf, size_t count);
11 extern off_t lseek(int fildes, off_t offset, int whence);
12 extern int close(int fd);
14 /* strlcpy doesn't belong here (it's in string.h in the rockbox sources),
15 * but this avoids complicated magic to override the system string.h */
16 size_t strlcpy(char *dst, const char *src, size_t siz);