Query: lckpwdf
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
lckpwdf(3C) lckpwdf(3C)NAMElckpwdf(), ulckpwdf() - control access to the /etc/passwd and /etc/shadow filesSYNOPSISDESCRIPTIONThe 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 VALUEThe 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.FILESSEE ALSOgetpwent(3C), passwd(4), thread_safety(5). lckpwdf(3C)
Related Man Pages |
---|
endspent(3) - centos |
fgetspent(3) - centos |
getspent(3) - centos |
getspent_r(3) - centos |
ulckpwdf(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
Unable to useradd on 11.31 |