Main index | Section 3 | Options |
#include <libxo/xo.h>
The fmt argument is one compatible with printf(3) rather than xo_emit(3) to aid in simple conversion. This means these functions make unstructured data. To generate structured data, use the xo_emit_err(3) functions.
These functions display the program name, a colon, a formatted message based on the arguments, and then optionally a colon and an error message associated with either errno or the code parameter.
EXAMPLE: if (open(filename, O_RDONLY) < 0) xo_err(1, "cannot open file '%s'", filename);
LIBXO (3) | December 4, 2014 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | There are two major products of Berkeley, CA -- LSD and UNIX. We don't believe this to be strictly by coincidence. | ” |
— Jeremy S. Anderson |