]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/lxfuxlibc/lib/src/lxfuxlc.c
update
[l4.git] / l4 / pkg / lxfuxlibc / lib / src / lxfuxlc.c
index 89ffd3745f0944e0a32f3a4a1b463874acd49180..ce9e478658ed85cc943719f1b32fea0ce3e346d8 100644 (file)
 #define __NR_lstat             107
 #define __NR_fstat             108
 #define __NR_ipc               117
+#define __NR_fsync             118
 #define __NR_select            142 /* new select */
 #define __NR_readv             145
 #define __NR_writev            146
+#define __NR_fdatasync         148
 #define __NR_poll              168
 #define __NR___lx_priv_ftruncate64 194
 #define __NR_ftruncate64        194
@@ -204,8 +206,10 @@ __lx_syscall2(int, stat, const char *, filename, struct lx_stat *, buf)
 __lx_syscall2(int, lstat, const char *, filename, struct lx_stat *, buf)
 __lx_syscall2(int, fstat, int, filedes, struct lx_stat *, buf)
 __lx_syscall6(int, ipc, unsigned int, call, int, first, int, second, int, third, const void *, ptr, long, fifth)
+__lx_syscall1(int, fsync, int, fd)
 __lx_syscall3(lx_ssize_t, readv, int, fd, const struct lx_iovec*, iov, int, cnt);
 __lx_syscall3(lx_ssize_t, writev, int, fd, const struct lx_iovec*, iov, int, cnt);
+__lx_syscall1(int, fdatasync, int, fd)
 __lx_syscall3(int, poll, struct lx_pollfd *, fds, lx_nfds_t, nfds, int, timeout)
 #ifdef __i386__
 int lx___lx_priv_ftruncate64(int, unsigned long, unsigned long);