Changeset View
Changeset View
Standalone View
Standalone View
contrib/openbsm/libbsm/au_domain.3
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
which may occur if the socket token was generated on another operating | which may occur if the socket token was generated on another operating | ||||
system. | system. | ||||
.Pp | .Pp | ||||
The | The | ||||
.Fn au_domain_to_bsm | .Fn au_domain_to_bsm | ||||
function accepts a local domain, and returns the BSM domain for it. | function accepts a local domain, and returns the BSM domain for it. | ||||
This call cannot fail, and instead returns a BSM domain indicating to a later | This call cannot fail, and instead returns a BSM domain indicating to a later | ||||
decoder that the domain could not be encoded. | decoder that the domain could not be encoded. | ||||
.Sh RETURN VALULES | .Sh RETURN VALUES | ||||
On success, | On success, | ||||
.Fn au_bsm_to_domain | .Fn au_bsm_to_domain | ||||
returns 0 and a converted domain; on failure, it returns -1 but does not set | returns 0 and a converted domain; on failure, it returns -1 but does not set | ||||
.Xr errno 2 . | .Xr errno 2 . | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr au_bsm_to_socket_type 3 , | .Xr au_bsm_to_socket_type 3 , | ||||
.Xr au_socket_type_to_bsm 3 , | .Xr au_socket_type_to_bsm 3 , | ||||
.Xr au_to_socket_ex 3 , | .Xr au_to_socket_ex 3 , | ||||
Show All 13 Lines |