ulckpwdf Subroutine

Purpose

The ulckpwdf subroutine unlocks the password database file.

Library

Security Library (libc.a)

Syntax

#include <pwd.h>
int ulckpwdf ()

Description

The ulckpwdf subroutine releases the lock on a /etc/security/.pwdlck file that is held by using the lckpwdf routine.

Return Values

The ulckpwdf subroutine returns a value of 0 for success and a value of -1 when the lock is already released.