Skip to content

Commit e2f4ce8

Browse files
committed
proc_kmsgbuf for darwin addition
1 parent ecead08 commit e2f4ce8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

libc-test/semver/apple.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,12 +1782,13 @@ posix_spawnattr_t
17821782
posix_spawnp
17831783
preadv
17841784
proc_bsdinfo
1785-
proc_name
1785+
proc_kmsgbuf
17861786
proc_listallpids
17871787
proc_listchildpids
17881788
proc_listpgrppids
17891789
proc_listpids
17901790
proc_libversion
1791+
proc_name
17911792
proc_pidinfo
17921793
proc_pidfdinfo
17931794
proc_pidfileportinfo

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4452,6 +4452,7 @@ extern "C" {
44524452
buffer: *mut ::c_void,
44534453
buffersize: u32,
44544454
) -> ::c_int;
4455+
pub fn proc_kmsgbuf(buffer: *mut ::c_void, buffersize: u32) -> ::c_int;
44554456
pub fn proc_libversion(major: *mut ::c_int, mintor: *mut ::c_int) -> ::c_int;
44564457
/// # Notes
44574458
///

0 commit comments

Comments
 (0)