From: bellard Date: Tue, 29 Apr 2003 20:41:02 +0000 (+0000) Subject: flock X-Git-Tag: TizenStudio_2.0_p2.3~16107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae48a07313d76b9097ba80a6e0d338acc2201c2e;p=sdk%2Femulator%2Fqemu.git flock git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@106 c046a42c-6fe2-441c-8c8c-71466251a162 --- 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