diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:09:46 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:09:46 +0000 |
commit | fe1e3ce3e97f08d9b18b3444831a69b4666eb6b5 (patch) | |
tree | 9b986e85c8675f6d3fb50d28f6e25261e96b2d93 /syscall-i386.h | |
parent | bb326a37493de7c88dbdcb139676957bab691f25 (diff) | |
download | qemu-fe1e3ce3e97f08d9b18b3444831a69b4666eb6b5.zip qemu-fe1e3ce3e97f08d9b18b3444831a69b4666eb6b5.tar.gz qemu-fe1e3ce3e97f08d9b18b3444831a69b4666eb6b5.tar.bz2 |
fcntl constants
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@114 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'syscall-i386.h')
-rw-r--r-- | syscall-i386.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/syscall-i386.h b/syscall-i386.h index a38dd32..2d0e91d 100644 --- a/syscall-i386.h +++ b/syscall-i386.h @@ -936,6 +936,24 @@ union target_semun { unsigned int __pad; /* really void* */ }; +#define TARGET_F_DUPFD 0 /* dup */ +#define TARGET_F_GETFD 1 /* get close_on_exec */ +#define TARGET_F_SETFD 2 /* set/clear close_on_exec */ +#define TARGET_F_GETFL 3 /* get file->f_flags */ +#define TARGET_F_SETFL 4 /* set file->f_flags */ +#define TARGET_F_GETLK 5 +#define TARGET_F_SETLK 6 +#define TARGET_F_SETLKW 7 + +#define TARGET_F_SETOWN 8 /* for sockets. */ +#define TARGET_F_GETOWN 9 /* for sockets. */ +#define TARGET_F_SETSIG 10 /* for sockets. */ +#define TARGET_F_GETSIG 11 /* for sockets. */ + +#define TARGET_F_GETLK64 12 /* using 'struct flock64' */ +#define TARGET_F_SETLK64 13 +#define TARGET_F_SETLKW64 14 + struct target_flock { short l_type; short l_whence; |