Browse Source

O_EXLOCK stuff was introduced in June 1997, and backed out again in

November of that year; however, the corresponding man changes were
never backed out.
do that now, reversing -r1.3 of this file;
original pr and diff from peter philipp (this commit closes pr #4309);
i chose to revert -r1.3 rather than accept the new wording from peter;
thanks jaredy@ for tracking all this down, and supplying the ok...
OPENBSD_3_8
jmc 19 years ago
parent
commit
48da60bb34
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      src/lib/libutil/pw_lock.3

+ 3
- 5
src/lib/libutil/pw_lock.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: pw_lock.3,v 1.11 2005/03/07 23:01:40 jmc Exp $
.\" $OpenBSD: pw_lock.3,v 1.12 2005/07/29 09:08:34 jmc Exp $
.\" .\"
.\" Copyright (c) 1995 .\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -58,10 +58,8 @@ functions allow a program to update the system passwd database.
The The
.Fn pw_lock .Fn pw_lock
function attempts to lock the passwd database by creating the file 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.
.Pa /etc/ptmp ,
and returns the file descriptor of that file.
If If
.Fa retries .Fa retries
is greater than zero, is greater than zero,


Loading…
Cancel
Save