Function login_cap_sys::setclasscontext[][src]

pub unsafe extern "C" fn setclasscontext(
    _class: *mut c_char,
    _flags: c_uint
) -> c_int
Expand description

From login_getclass(3):

The setclasscontext() function takes class, the name of a user class, and
sets the resources defined by that class according to flags.  Only the
LOGIN_SETPATH, LOGIN_SETPRIORITY, LOGIN_SETRESOURCES, and LOGIN_SETUMASK
bits are used (see setusercontext() below).  It returns 0 on success and
-1 on failure.