From ae48a07313d76b9097ba80a6e0d338acc2201c2e Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 29 Apr 2003 20:41:02 +0000 Subject: flock git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@106 c046a42c-6fe2-441c-8c8c-71466251a162 --- syscall-i386.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'syscall-i386.h') diff --git a/syscall-i386.h b/syscall-i386.h index d8fa444c97..a2fb03dead 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 -- cgit v1.2.3