MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / _vwarnx

Function _vwarnx

samples/common/getopt.c:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112static char const illoptstring[] = "unknown option -- %s";
113
114static void _vwarnx(char const* fmt, va_list ap)
115{
116 (void) fprintf(stderr, "%s: ", __progname);
117 if (fmt != NULL)
118 (void) vfprintf(stderr, fmt, ap);
119 (void) fprintf(stderr, "\n");
120}
121
122static void warnx(char const* fmt, ...)
123{

Callers 1

warnxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected