Skip to content

Commit d03554b

Browse files
committed
Auto merge of #2878 - devnexen:ptsname_r_fbsd, r=JohnTitor
freebsd adding ptsname_r
2 parents 2a1d103 + c0c0f91 commit d03554b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,7 @@ ptrace_io_desc
17821782
ptrace_lwpinfo
17831783
ptrace_sc_ret
17841784
ptrace_vm_entry
1785+
ptsname_r
17851786
pututxline
17861787
pwritev
17871788
qsort

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3985,6 +3985,7 @@ extern "C" {
39853985
infop: *mut ::siginfo_t,
39863986
options: ::c_int,
39873987
) -> ::c_int;
3988+
pub fn ptsname_r(fd: ::c_int, buf: *mut ::c_char, buflen: ::size_t) -> ::c_int;
39883989

39893990
pub fn ftok(pathname: *const ::c_char, proj_id: ::c_int) -> ::key_t;
39903991
pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int;

0 commit comments

Comments
 (0)