Changeset View
Changeset View
Standalone View
Standalone View
contrib/openbsm/libbsm/au_errno.3
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
a later decoder that the error could not be encoded. | a later decoder that the error could not be encoded. | ||||
.Pp | .Pp | ||||
The | The | ||||
.Fn au_strerror | .Fn au_strerror | ||||
function converts a BSM error value to a string, generally by converting first to a | function converts a BSM error value to a string, generally by converting first to a | ||||
local error number and using the local | local error number and using the local | ||||
.Xr strerror 3 | .Xr strerror 3 | ||||
function, but will also work for errors that are not locally defined. | function, but will also work for errors that are not locally defined. | ||||
.Sh RETURN VALULES | .Sh RETURN VALUES | ||||
On success, | On success, | ||||
.Fn au_bsm_to_errno | .Fn au_bsm_to_errno | ||||
returns 0 and a converted error value; on failure, it returns -1 but does not | returns 0 and a converted error value; on failure, it returns -1 but does not | ||||
set | set | ||||
.Xr errno 2 . | .Xr errno 2 . | ||||
.Pp | .Pp | ||||
On success, | On success, | ||||
.Fn au_strerror | .Fn au_strerror | ||||
Show All 23 Lines |