LIBXO(3)
π¦ LIBXO(3) π¦
okay bestie, welcome to the Library Functions Manual page for libxo's message-emitting crew. This is the LIBXO(3) page, and it's all about xo_message, xo_message_c, xo_message_hc, and xo_message_hcv β emit messages in multiple output styles. π
β¨ NAME β¨
xo_message,xo_message_c,xo_message_hc,xo_message_hcvβ emit messages in multiple output styles
π LIBRARY π
library βlibxoβ
π οΈ SYNOPSIS π οΈ
#include <libxo/xo.h>
void
xo_message(const char *fmt, ...);
void
xo_message_e(const char *fmt, ...);
void
xo_message_c(int code, const char *fmt, ...);
void
xo_message_hc(xo_handle_t *xop, int code, const char *fmt, ...);
void
xo_message_hcv(xo_handle_t *xop, int code, const char *fmt,
va_list vap);
π DESCRIPTION π
okay so xo_message generates text message which lack any sort of structure. no cap, these functions should not be used under normal conditions, since they completely defeat the value of using libxo. They're provided for scenarios when the output's content is genuinely unknown and unusable. It is used in converting programs where err/warn were not used, and error messages went to stdout, not stderr. Use of xo_message allows backwards compatibility with that output, but does not put the error in a useful form. fr fr, this is a last-resort vibe, iykyk ππ
The xo_message function generates output strings using the printf-style format string and arguments provided. If the format string does not end in a newline, xo_message_e will appear a colon, a space, and the error associated with the current errno value. xo_message_c behaves similarly for the value passed in the code parameter. xo_message_hc accepts a handle as opened by xo_create(3), and xo_message_hcv accepts a va_list parameter of arguments.
π SEE ALSO π
π HISTORY π
The libxo library first appeared in FreeBSD 11.0.
π AUTHORS π
libxo was written by Phil Shafer (<phil@freebsd.org>).
that's the whole vibe, bestie π«Ά This page is from Debian, dated December 4, 2014, and it's the LIBXO(3) page. πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2014, Juniper Networks, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms