summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pw_lock.3
diff options
context:
space:
mode:
authormpech <mpech@openbsd.org>2002-05-01 08:03:29 +0000
committermpech <mpech@openbsd.org>2002-05-01 08:03:29 +0000
commitee997aea819580341aee10df113db886cac4a60f (patch)
treebc9dda5eb363d6052f48626ddd3c19b14321f792 /lib/libutil/pw_lock.3
parentChange WI_PORTTYPE_IBSS to 4. This change got lost in the big ibss (diff)
downloadwireguard-openbsd-ee997aea819580341aee10df113db886cac4a60f.tar.xz
wireguard-openbsd-ee997aea819580341aee10df113db886cac4a60f.zip
o) start new sentence on a new line;
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
Diffstat (limited to 'lib/libutil/pw_lock.3')
-rw-r--r--lib/libutil/pw_lock.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libutil/pw_lock.3 b/lib/libutil/pw_lock.3
index 78d42acba54..d109dc79c64 100644
--- a/lib/libutil/pw_lock.3
+++ b/lib/libutil/pw_lock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pw_lock.3,v 1.8 2001/08/26 03:28:30 millert Exp $
+.\" $OpenBSD: pw_lock.3,v 1.9 2002/05/01 08:03:30 mpech Exp $
.\"
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
@@ -65,13 +65,15 @@ function attempts to lock the passwd database by creating the file
.Pa /etc/ptmp
with an exclusive lock (using
.Xr flock 2
-semantics) and returns the file descriptor of that file. If
+semantics) and returns the file descriptor of that file.
+If
.Fa retries
is greater than zero,
.Fn pw_lock
will try multiple times to open
.Pa /etc/ptmp ,
-waiting one second between tries. In addition to being a lock file,
+waiting one second between tries.
+In addition to being a lock file,
.Pa /etc/ptmp
will also hold the contents of the new passwd file.
.Pp