openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/locale/programs/record-status.c
void __attribute__((__format__(__printf__, 2, 3), nonnull(1, 2), unused))
record_verbose(FILE* stream, const char* format, ...)
{
    char* str;
    va_list arg;

    if (!verbose)
        return;

    if (!be_quiet)
    {
        struct locale_state ls;
        int ret;

        va_start(arg, format);
        ls = push_locale();

        ret = vasprintf(&str, format, arg);
        if (ret == -1)
            abort();

        pop_locale(ls);
        va_end(arg);

        fprintf(stream, "[verbose] %s\n", str);

        free(str);
    }
}
/* Wrapper to print verbose informative messages.
   Verbose messages are only printed if --verbose
   is in effect and --quiet is not.  */
Wrapper to print verbose informative messages.
Verbose messages are only printed if --verbose
is in effect and --quiet is not.
Wrapper to print verbose informative messages . Verbose messages are only printed if -- verbose is in effect and -- quiet is not .
void __attribute__((__format__(__printf__, 2, 3), nonnull(1, 2), unused))
record_verbose(FILE* stream, const char* format, ...)
{
    char* str;
    va_list arg;
    if (!verbose)
        return;
    if (!be_quiet)
    {
        struct locale_state ls;
        int ret;
        va_start(arg, format);
        ls = push_locale();
        ret = vasprintf(&str, format, arg);
        if (ret == -1)
            abort();
        pop_locale(ls);
        va_end(arg);
        fprintf(stream, "[verbose] %s\n", str);
        free(str);
    }
}
void __attribute__ ( ( __format__ ( __printf__ , 2 , 3 ) , nonnull ( 1 , 2 ) , unused ) ) record_verbose ( FILE * stream , const char * format , ... ) { char * str ; va_list arg ; if ( ! verbose ) return ; if ( ! be_quiet ) { struct locale_state ls ; int ret ; va_start ( arg , format ) ; ls = push_locale ( ) ; ret = vasprintf ( & str , format , arg ) ; if ( ret == -1 ) abort ( ) ; pop_locale ( ls ) ; va_end ( arg ) ; fprintf ( stream , " \n " , str ) ; free ( str ) ; } }
Wrapper to print verbose informative messages.
Wrapper to print verbose informative messages .