diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-12 21:55:45 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-12 21:55:45 -0500 |
commit | 5eb0d33ec0f08b123c5c10877d6258d05fa9453a (patch) | |
tree | 85ff7f5397424685d89af8176ff7ce6d6f46f6e2 /src/stdio/funlockfile.c | |
parent | d8d19f4d46284d5b6124710a5235b6fe090c013f (diff) | |
download | musl-5eb0d33ec0f08b123c5c10877d6258d05fa9453a.tar.gz musl-5eb0d33ec0f08b123c5c10877d6258d05fa9453a.tar.bz2 musl-5eb0d33ec0f08b123c5c10877d6258d05fa9453a.tar.xz musl-5eb0d33ec0f08b123c5c10877d6258d05fa9453a.zip |
implement flockfile api, rework stdio locking
Diffstat (limited to 'src/stdio/funlockfile.c')
-rw-r--r-- | src/stdio/funlockfile.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stdio/funlockfile.c b/src/stdio/funlockfile.c new file mode 100644 index 00000000..d69f68ee --- /dev/null +++ b/src/stdio/funlockfile.c @@ -0,0 +1,7 @@ +#include "stdio_impl.h" +#include "pthread_impl.h" + +void funlockfile(FILE *f) +{ + FUNLOCK(f); +} |