openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/debug/asprintf_chk.c
int __asprintf_chk(char** result_ptr, int flag, const char* format, ...)
{
    /* For flag > 0 (i.e. __USE_FORTIFY_LEVEL > 1) request that %n
       can only come from read-only format strings.  */
    unsigned int mode = (flag > 0) ? PRINTF_FORTIFY : 0;
    va_list ap;
    int ret;

    va_start(ap, format);
    ret = __vasprintf_internal(result_ptr, format, ap, mode);
    va_end(ap);

    return ret;
}
/* Write formatted output from FORMAT to a string which is
   allocated with malloc and stored in *STRING_PTR.  */
Write formatted output from FORMAT to a string which is
allocated with malloc and stored in *STRING_PTR.
Write formatted output from FORMAT to a string which is allocated with malloc and stored in * STRING_PTR .
int __asprintf_chk(char** result_ptr, int flag, const char* format, ...)
{
    unsigned int mode = (flag > 0) ? PRINTF_FORTIFY : 0;
    va_list ap;
    int ret;
    va_start(ap, format);
    ret = __vasprintf_internal(result_ptr, format, ap, mode);
    va_end(ap);
    return ret;
}
int __asprintf_chk ( char * * result_ptr , int flag , const char * format , ... ) { unsigned int mode = ( flag > 0 ) ? PRINTF_FORTIFY : 0 ; va_list ap ; int ret ; va_start ( ap , format ) ; ret = __vasprintf_internal ( result_ptr , format , ap , mode ) ; va_end ( ap ) ; return ret ; }
Write formatted output from FORMAT to a string which is
allocated with malloc and stored in *STRING_PTR.
Write formatted output from FORMAT to a string which is allocated with malloc and stored in * STRING_PTR .
/* For flag > 0 (i.e. __USE_FORTIFY_LEVEL > 1) request that %n
       can only come from read-only format strings.  */