LIBXO(3)

πŸ“¦
version 1.7.5 Β· 2 versions
, in epel 9, fedora 43, fedora 44, nixpkgs unstable

πŸ’– LIBXO(3) β€” xo_set_syslog_enterprise_id, bestie edition ✨

okay so we're deep in the LIBXO(3) manual page, which lives in the Library Functions Manual, and honestly? it's a tiny little page with one job and it does that job flawlessly. periodt. πŸ’…


🌸 NAME

xo_set_syslog_enterprise_id β€” Set the enterprise identifier for syslog content

like... that's it. that's the whole name. short, sweet, iconic. πŸ‘‘


πŸ“š LIBRARY

library β€œlibxo”

yep, she lives in libxo. that's the house. that's the home. 🏠✨


πŸŽ€ SYNOPSIS

#include <libxo/xo.h>

void
xo_set_syslog_enterprise_id(unsigned short eid);

void

not the mystery extra void at the bottom just vibing there with no function attached 😭 we don't question it, we respect it, we leave it exactly where it is. fr fr. πŸ™ˆ


πŸ¦‹ DESCRIPTION

so basically, the xo_set_syslog_enterprise_id() function records an enterprise identifier, and that identifier gets used for all your subsequent xo_syslog(3) calls. so like, set it once, and everything downstream knows who's talking. main character energy but for logging. πŸ’«

Enterprise IDs are defined by IANA, the Internet Assigned Numbers Authority, which is the official keeper of all the numbers, no cap:

https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers

πŸ”₯ SEE ALSO

go read those too bestie, they're the whole ecosystem 🫢


⭐ HISTORY

The libxo library first appeared in FreeBSD 11.0. so she's been around, she's seasoned, she's got lore. 🧚


πŸ‘‘ AUTHORS

libxo was written by Phil Shafer <phil@freebsd.org>. thank you for your service king 🫑✨


🌈 ADDITIONAL DOCUMENTATION

FreeBSD uses libxo version 1.7.5. Complete documentation can be found on github:

https://juniper.github.io/libxo/1.7.5/html/index.html

libxo lives on github as:

https://github.com/Juniper/libxo

The latest release of libxo is available at:

https://github.com/Juniper/libxo/releases

three links, all verbatim, all slay. click responsibly. πŸ’–


πŸ’œ HISTORY

okay we're doing HISTORY again and yes it's a whole second HISTORY section, and yes that's exactly how the original rolls, and no we are NOT merging them πŸ™…β€β™€οΈ

The libxo library was added in FreeBSD 11.0.


πŸ’ AUTHOR

Phil Shafer

one more time for the people in the back πŸ“£


and that's the whole page bestie, start to finish, every flag, every path, every URL, every history section, untouched and unbothered πŸ’…

this little gem came to you from Debian, dated July 20, 2015, and it is officially a LIBXO(3) moment. go set an enterprise id, you've earned it. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from