add flock64 alias for (struct) flock in fcntl.h
authorRich Felker <dalias@aerifal.cx>
Tue, 18 Feb 2014 16:04:15 +0000 (11:04 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 18 Feb 2014 16:04:15 +0000 (11:04 -0500)
this was a missing part of the LFS64 API; it's "needed" for use with
fcntl and the corresponding lock commands.

include/fcntl.h

index e01a4d19a9376c3981edf2ddedb98c5806a11df8..2d8fa6e4d37306d8e5ae8972c73debd1b7864167 100644 (file)
@@ -161,6 +161,7 @@ ssize_t tee(int, int, size_t, unsigned);
 #define F_GETLK64 F_GETLK
 #define F_SETLK64 F_SETLK
 #define F_SETLKW64 F_SETLKW
+#define flock64 flock
 #define open64 open
 #define openat64 openat
 #define creat64 creat