xt_va_usage(3)

NAME
xt_va_usage() - Print usage message and terminate process

LIBRARY
#include <xtend/proc.h>
-lxtend

SYNOPSIS
void    xt_va_usage(const char *format_string, ...)

ARGUMENTS
format_string:  printf-style format string
Additional arguments to match placeholders in format_string

DESCRIPTION
xt_va_usage() is a simple convenience function that takes a printf-style variable argument list, prints a message to stderr, and terminates the proces with an exit status of EX_USAGE. The message should indicate correct command-line usage of the calling program as conventional for Unix commands.

RETURN VALUES
Does not return, terminates the calling process

SEE ALSO
printf(3), vfprintf(3), exit(3), sysexits(3)