Skip to content

Commit 4a6fd7c

Browse files
committed
Auto merge of #2340 - devnexen:macos_proc_kmsgbuf, r=JohnTitor
proc_kmsgbuf for darwin addition
2 parents 5f5f51c + e2f4ce8 commit 4a6fd7c

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
@@ -1783,12 +1783,13 @@ posix_spawnattr_t
17831783
posix_spawnp
17841784
preadv
17851785
proc_bsdinfo
1786-
proc_name
1786+
proc_kmsgbuf
17871787
proc_listallpids
17881788
proc_listchildpids
17891789
proc_listpgrppids
17901790
proc_listpids
17911791
proc_libversion
1792+
proc_name
17921793
proc_pidinfo
17931794
proc_pidfdinfo
17941795
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)