Function setusercontext [src]

Alias for std.c.openbsd.setusercontext

Prototype

pub extern "c" fn setusercontext(lc: *login_cap_t, pwd: *passwd, uid: uid_t, flags: c_uint) c_int

Parameters

lc: *login_cap_tpwd: *passwduid: uid_tflags: c_uint

Source

pub extern "c" fn setusercontext(lc: *login_cap_t, pwd: *passwd, uid: uid_t, flags: c_uint) c_int