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 rename_file(const char* source, const char* target)
{
    if (rename(source, target) != 0)
    {
        fprintf(stderr, "Error renaming %s to %s: %s\n", source, target,
                strerror(errno));
        return 0;
    }

    return 1;
}
/* Rename a file and print an error on failure.
 */
Rename a file and print an error on failure.
Rename a file and print an error on failure .
int rename_file(const char* source, const char* target)
{
    if (rename(source, target) != 0)
    {
        fprintf(stderr, "Error renaming %s to %s: %s\n", source, target,
                strerror(errno));
        return 0;
    }
    return 1;
}
int rename_file ( const char * source , const char * target ) { if ( rename ( source , target ) != 0 ) { fprintf ( stderr , " \n " , source , target , strerror ( errno ) ) ; return 0 ; } return 1 ; }
Rename a file and print an error on failure.
Rename a file and print an error on failure .