Function bsd_auth_sys::auth_setitem[][src]

pub unsafe extern "C" fn auth_setitem(
    _as: *mut auth_session_t,
    _item: c_uint,
    _value: *mut c_char
) -> c_int
Expand description

Assigns value to the specified item

From auth_subr(3):

Assigns `value` to the specified `item`. The items are described above with the
`auth_getitem()` function. In addition, if `value` is NULL, the `item` is cleared. If
`value` is NULL` and `item` is AUTH_ALL then all items are cleared.