lib: c: io: implement lseek()
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define UNISTD_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
extern int open(const char *path, int flags);
|
||||
extern int close(int fd);
|
||||
@@ -9,4 +10,6 @@ extern int close(int fd);
|
||||
extern int read(int fd, void *buf, size_t count);
|
||||
extern int write(int fd, const void *buf, size_t count);
|
||||
|
||||
extern off_t lseek(int fd, off_t offset, int whence);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user