Function login_cap_sys::login_getcaptime [−][src]
pub unsafe extern "C" fn login_getcaptime(
_lc: *mut login_cap_t,
_cap: *mut c_char,
_def: quad_t,
_err: quad_t
) -> quad_t
Expand description
From login_getclass(3)
:
The login_getcaptime() function queries the database entry for a field named cap. If the field is found, its value is returned. If the field is not found, the value specified by def is returned. If an error is encountered while trying to find the field, err is returned. See login.conf(5) for a discussion of the various textual forms the value may take.