Skip to content

Commit 7085e0f

Browse files
0-wiz-0tgross35
authored andcommitted
NetBSD: add ptsname_r support
(backport <#4608>) (cherry picked from commit e634372)
1 parent 60a8cfd commit 7085e0f

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+2
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,6 +2497,8 @@ extern "C" {
24972497
winp: *mut crate::winsize,
24982498
) -> crate::pid_t;
24992499

2500+
pub fn ptsname_r(fd: c_int, buf: *mut c_char, buflen: size_t) -> c_int;
2501+
25002502
#[link_name = "__lutimes50"]
25012503
pub fn lutimes(file: *const c_char, times: *const crate::timeval) -> c_int;
25022504
#[link_name = "__gettimeofday50"]

0 commit comments

Comments
 (0)