Skip to content

Commit

Permalink
Auto merge of #2878 - devnexen:ptsname_r_fbsd, r=JohnTitor
Browse files Browse the repository at this point in the history
freebsd adding ptsname_r
  • Loading branch information
bors committed Aug 18, 2022
2 parents 2a1d103 + c0c0f91 commit d03554b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/freebsd.txt
Expand Up @@ -1782,6 +1782,7 @@ ptrace_io_desc
ptrace_lwpinfo
ptrace_sc_ret
ptrace_vm_entry
ptsname_r
pututxline
pwritev
qsort
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Expand Up @@ -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;
Expand Down

0 comments on commit d03554b

Please sign in to comment.