From a22d90e47d420492c98ade168780ba7d3964419b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 30 Oct 2017 12:52:48 +0000 Subject: Add lock_unx() --- doc/libstddjb/djbunix.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/libstddjb') 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 @@ -234,6 +234,12 @@ Releases a previously held lock on fd. Returns 0 if it succeeds, or -1 (and sets errno) if it fails.

+

+ void lock_unx (int fd)
+Like lock_un, but without a return code and without +modifying errno. +

+

int open2 (char const *file, unsigned int flags)
Safe wrapper around -- cgit v1.2.3