diff options
author | David CARLIER <devnexen@gmail.com> | 2022-08-16 21:03:28 +0100 |
---|---|---|
committer | David CARLIER <devnexen@gmail.com> | 2022-08-16 21:03:28 +0100 |
commit | c0c0f917d5bd8f4c5e24a26f629858ca15566701 (patch) | |
tree | a106a0cded760ef62887ea622debebc25d8a8a2b /src/unix/bsd/freebsdlike/freebsd/mod.rs | |
parent | 2a1d1033c6457b0dedb4e7ed35a19d9a513622b6 (diff) | |
download | rust-libc-c0c0f917d5bd8f4c5e24a26f629858ca15566701.tar.gz |
freebsd adding ptsname_r
Diffstat (limited to 'src/unix/bsd/freebsdlike/freebsd/mod.rs')
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 84e43b23e5..19c72e4f1f 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -3985,6 +3985,7 @@ extern "C" { infop: *mut ::siginfo_t, options: ::c_int, ) -> ::c_int; + pub fn ptsname_r(fd: ::c_int, buf: *mut ::c_char, buflen: ::size_t) -> ::c_int; pub fn ftok(pathname: *const ::c_char, proj_id: ::c_int) -> ::key_t; pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; |