Searched defs:flock (Results 1 - 5 of 5) sorted by relevance

/external/clang/test/Sema/
H A Dwarn-type-safety.c125 struct flock { }; struct
128 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK;
132 void test_argument_with_type_tag(struct flock *f)
137 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}}
138 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' type tag that requires 'int'}}
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h53 * The flavours of struct flock. "struct flock" is the ABI compliant
54 * variant. Finally struct flock64 is the LFS variant of struct flock. As
56 * contain all the same fields as struct flock.
63 struct flock { struct
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h226 int (*lock)(const char*, struct fuse_file_info*, int cmd, struct flock*);
255 int (*flock)(const char*, struct fuse_file_info*, int op); member in struct:fuse_operations
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h154 /* for old implementation of bsd flock () */
160 /* operations for bsd flock(), also used by the kernel implementation */
167 #define LOCK_MAND 32 /* This is a mandatory flock ... */
179 struct flock { struct
/external/mksh/src/
H A Dsh.h249 #undef flock /* SCO UnixWare defines that to flock64 but ENOENT */ macro
362 extern int flock(int, int);

Completed in 433 milliseconds