aboutsummaryrefslogtreecommitdiff
path: root/syscall-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 20:41:02 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-29 20:41:02 +0000
commitae48a07313d76b9097ba80a6e0d338acc2201c2e (patch)
tree1c84e40d21e650ae7b90c6596fb9adef7fe8dfe8 /syscall-i386.h
parent956034d7e5370c26f8ef58a11e940ffa4f3d8d70 (diff)
downloadqemu-ae48a07313d76b9097ba80a6e0d338acc2201c2e.zip
qemu-ae48a07313d76b9097ba80a6e0d338acc2201c2e.tar.gz
qemu-ae48a07313d76b9097ba80a6e0d338acc2201c2e.tar.bz2
flock
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@106 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'syscall-i386.h')
-rw-r--r--syscall-i386.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/syscall-i386.h b/syscall-i386.h
index d8fa444..a2fb03d 100644
--- a/syscall-i386.h
+++ b/syscall-i386.h
@@ -936,6 +936,22 @@ union target_semun {
unsigned int __pad; /* really void* */
};
+struct target_flock {
+ short l_type;
+ short l_whence;
+ target_ulong l_start;
+ target_ulong l_len;
+ int l_pid;
+};
+
+struct target_flock64 {
+ short l_type;
+ short l_whence;
+ unsigned long long l_start;
+ unsigned long long l_len;
+ int l_pid;
+};
+
/* soundcard defines (XXX: move them to generic file syscall_defs.h) */
#define TARGET_SNDCTL_COPR_HALT 0xc0144307