summaryrefslogtreecommitdiff
path: root/doc/libstddjb/djbunix.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 12:52:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-30 12:52:48 +0000
commita22d90e47d420492c98ade168780ba7d3964419b (patch)
tree3104dd7deba0b4d9ec35903d8fafd9fbb862a8d1 /doc/libstddjb/djbunix.html
parentf65cd7e93eeb39d7ebb4066793345dd45051abe2 (diff)
downloadskalibs-a22d90e47d420492c98ade168780ba7d3964419b.tar.xz
Add lock_unx()
Diffstat (limited to 'doc/libstddjb/djbunix.html')
-rw-r--r--doc/libstddjb/djbunix.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html
index 93e246d..da8ed23 100644
--- a/doc/libstddjb/djbunix.html
+++ b/doc/libstddjb/djbunix.html
@@ -235,6 +235,12 @@ Returns 0 if it succeeds, or -1 (and sets errno) if it fails.
</p>
<p>
+<code> void lock_unx (int fd) </code> <br />
+Like <tt>lock_un</tt>, but without a return code and without
+modifying errno.
+</p>
+
+<p>
<code> int open2 (char const *file, unsigned int flags) </code> <br />
Safe wrapper around
<a href="http://www.opengroup.org/onlinepubs/9699919799/functions/open.html">open()</a>