diff options
author | Val Packett <val@packett.cool> | 2023-05-07 04:00:38 -0300 |
---|---|---|
committer | Val Packett <val@packett.cool> | 2023-05-07 04:25:03 -0300 |
commit | c461e304db322c53e8d0b28ae9192e9075b54a03 (patch) | |
tree | cc296b4c1003e19d9de65864ecb41af2230f5342 /src/unix/bsd | |
parent | 6c00b3761c89b5e5211311c4d7d10714b91d04e8 (diff) | |
download | rust-libc-c461e304db322c53e8d0b28ae9192e9075b54a03.tar.gz |
bsd: add setlogin
Diffstat (limited to 'src/unix/bsd')
-rw-r--r-- | src/unix/bsd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index 84e572edab..6ce041357e 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -628,6 +628,7 @@ extern "C" { pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int; pub fn freeifaddrs(ifa: *mut ::ifaddrs); pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int; + pub fn setlogin(name: *const ::c_char) -> ::c_int; pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int; pub fn kqueue() -> ::c_int; pub fn unmount(target: *const ::c_char, arg: ::c_int) -> ::c_int; |