linux/esptun.c
static __attribute__ ((format (printf, 1, 2))) void my_err(char *msg, ...)
{
    va_list argp;

    fprintf(stderr, "error: ");
    va_start(argp, msg);
    vfprintf(stderr, msg, argp);
    va_end(argp);
    fprintf(stderr, "\n");
    exit(1);
}
/**
 * Prints error message on stderr and exits the program.
 */
Prints error message on stderr and exits the program.
Prints error message on stderr and exits the program .
static __attribute__ ((format (printf, 1, 2))) void my_err(char *msg, ...)
{
    va_list argp;
    fprintf(stderr, "error: ");
    va_start(argp, msg);
    vfprintf(stderr, msg, argp);
    va_end(argp);
    fprintf(stderr, "\n");
    exit(1);
}
static __attribute__ ( ( format ( printf , 1 , 2 ) ) ) void my_err ( char * msg , ... ) { va_list argp ; fprintf ( stderr , " " ) ; va_start ( argp , msg ) ; vfprintf ( stderr , msg , argp ) ; va_end ( argp ) ; fprintf ( stderr , " \n " ) ; exit ( 1 ) ; }
Prints error message on stderr and exits the program.
Prints error message on stderr and exits the program .