Reference

xo_error(3)

generate simple error messages in multiple output styles

NAME

xo_error – generate simple error messages in multiple output styles

LIBRARY

library “libxo”

SYNOPSIS

#include <libxo/xo.h>

void

xo_error(const char *fmt, ...);

DESCRIPTION

Use the xo_error() function to generate error messages to standard error. The fmt argument is a string containing printf-style formatting instructions that describe the remaining arguments.

When converting an application to libxo, one can replace fprintf(stderr,...) calls with xo_error() calls.

SEE ALSO

printf(3), xo_emit(3), libxo(3)

HISTORY

The libxo library first appeared in FreeBSD 11.0.

AUTHORS

libxo was written by Phil Shafer ⟨[email protected]⟩.

History