Skip to content

Commit e634372

Browse files
0-wiz-0tgross35
authored andcommitted
NetBSD: add ptsname_r support
1 parent aa99092 commit e634372

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
@@ -2496,6 +2496,8 @@ extern "C" {
24962496
winp: *mut crate::winsize,
24972497
) -> crate::pid_t;
24982498

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

0 commit comments

Comments
 (0)