tail head cat sleep
QR code linking to this page

Manual Pages  — LIBXO

NAME

xo_error – generate simple error messages in multiple output styles

CONTENTS

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 <Mt phil@freebsd.org>.


LIBXO (3) December 4, 2014

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

An ASCII character walks into a bar and orders a double. "Having a bad day?" asks the barman. "Yeah, I have a parity error," replies the ASCII character. The barman says, "Yeah, I thought you looked a bit off."