ulckpwdf(3c) hpux man page | unix.com

Man Page: ulckpwdf

Operating Environment: hpux

Section: 3c

lckpwdf(3C)															       lckpwdf(3C)

NAME
lckpwdf(), ulckpwdf() - control access to the /etc/passwd and /etc/shadow files
SYNOPSIS
DESCRIPTION
The and routines are used to coordinate modification access to the password file and to the shadow password file The lock file used by these two routines is A process first calls to gain exclusive access rights for modification. When modifications are complete, is called to release the lock on This mechanism prevents simultaneous modification of the files.
RETURN VALUE
The routine returns zero upon successful completion. If the lock could not be obtained, it returns -1 and sets to indicate the error. The routine returns zero upon successful completion. If the lock has already been released, returns -1 and sets to indicate the error.
FILES
SEE ALSO
getpwent(3C), passwd(4), thread_safety(5). lckpwdf(3C)
Related Man Pages
shadow(3) - centos
shadow(3) - redhat
fgetspent_r(3) - centos
lckpwdf(3c) - sunos
ulckpwdf(3c) - sunos
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
How to extract every repeated string between two specific string?
SAN Migration question
Hpux 11iV3 administration document
awk - Multi-line data to be stored in variable