summaryrefslogtreecommitdiffstats
path: root/src/include/linux_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/linux_api.h')
-rw-r--r--src/include/linux_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/linux_api.h b/src/include/linux_api.h
index 94dc991f0..28a3cda3b 100644
--- a/src/include/linux_api.h
+++ b/src/include/linux_api.h
@@ -47,11 +47,13 @@ typedef __kernel_loff_t loff_t;
typedef unsigned long nfds_t;
typedef uint32_t useconds_t;
#define MAP_FAILED ( ( void * ) -1 )
+#define SEEK_SET 0
extern long linux_syscall ( int number, ... );
extern int linux_open ( const char *pathname, int flags );
extern int linux_close ( int fd );
+extern off_t linux_lseek ( int fd, off_t offset, int whence );
extern __kernel_ssize_t linux_read ( int fd, void *buf, __kernel_size_t count );
extern __kernel_ssize_t linux_write ( int fd, const void *buf,
__kernel_size_t count );