openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/base-passwd/3.5.29-r0/base-passwd-3.5.29/update-passwd.c
int lock_files()
{
    if (lckpwdf() != 0)
    {
        fprintf(stderr, "Error locking files: %s\n", strerror(errno));
        return 0;
    }

    return 1;
}
/* Try to lock the account database
 */
Try to lock the account database
Try to lock the account database
int lock_files()
{
    if (lckpwdf() != 0)
    {
        fprintf(stderr, "Error locking files: %s\n", strerror(errno));
        return 0;
    }
    return 1;
}
int lock_files ( ) { if ( lckpwdf ( ) != 0 ) { fprintf ( stderr , " \n " , strerror ( errno ) ) ; return 0 ; } return 1 ; }
Try to lock the account database
Try to lock the account database