---
name: "xo_set_syslog_enterprise_id"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/xo_set_syslog_enterprise_id"
---

# xo\_set\_syslog\_enterprise\_id(3)

Set the enterprise identifier for syslog content

## NAME

**xo\_set\_syslog\_enterprise\_id** – Set the enterprise identifier for syslog content

## LIBRARY

library “libxo”

## SYNOPSIS

**#include \<libxo/xo.h\>**

*void*\

**xo\_set\_syslog\_enterprise\_id**(*unsigned short eid*);

*void*\

## DESCRIPTION

The **xo\_set\_syslog\_enterprise\_id**() function records an enterprise identifier used for subsequent [xo\_syslog(3)](/xo_syslog/3.md) calls. Enterprise IDs are defined by IANA, the Internet Assigned Numbers Authority:

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

## SEE ALSO

[xo\_syslog(3)](/xo_syslog/3.md), [libxo(3)](/libxo/3.md)

## HISTORY

The **libxo** library first appeared in FreeBSD 11.0.

## AUTHORS

**libxo** was written by Phil Shafer ⟨*phil@freebsd.org*⟩.
