projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e02ce1
)
add flock64 alias for (struct) flock in fcntl.h
author
Rich Felker
<dalias@aerifal.cx>
Tue, 18 Feb 2014 16:04:15 +0000
(11:04 -0500)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/include/fcntl.h
b/include/fcntl.h
index e01a4d19a9376c3981edf2ddedb98c5806a11df8..2d8fa6e4d37306d8e5ae8972c73debd1b7864167 100644
(file)
--- a/
include/fcntl.h
+++ b/
include/fcntl.h
@@
-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