Skip to content

Commit fed4072

Browse files
authored
Merge pull request #3849 from devnexen/linux_mq_notify
add the `mq_notify` glibc wrapper for the `SYS_mq_notify` syscall
2 parents 23270dd + 99fb76f commit fed4072

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/linux-gnu.txt

+1
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

+2
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)