Skip to content

Commit 99fb76f

Browse files
committed
adding mq_notify glibc wrapper for SYS_mq_notify syscall.
1 parent f136b30 commit 99fb76f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/linux-gnu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ malloc_stats
651651
malloc_trim
652652
malloc_usable_size
653653
mallopt
654+
mq_notify
654655
nl_mmap_hdr
655656
nl_mmap_req
656657
nl_pktinfo

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,8 @@ extern "C" {
15471547

15481548
// Added in `glibc` 2.34
15491549
pub fn close_range(first: ::c_uint, last: ::c_uint, flags: ::c_int) -> ::c_int;
1550+
1551+
pub fn mq_notify(mqdes: ::mqd_t, sevp: *const ::sigevent) -> ::c_int;
15501552
}
15511553

15521554
cfg_if! {

0 commit comments

Comments
 (0)