flock
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 29 Apr 2003 20:41:02 +0000 (20:41 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 29 Apr 2003 20:41:02 +0000 (20:41 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@106 c046a42c-6fe2-441c-8c8c-71466251a162

syscall-i386.h

index d8fa444..a2fb03d 100644 (file)
@@ -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