Skip to content

Commit bb70a99

Browse files
devnexentgross35
authored andcommitted
adding mq_notify glibc wrapper for SYS_mq_notify syscall.
(backport <rust-lang#3849>) (cherry picked from commit 99fb76f)
1 parent 3509dad commit bb70a99

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
@@ -657,6 +657,7 @@ malloc_info
657657
malloc_trim
658658
malloc_usable_size
659659
mallopt
660+
mq_notify
660661
nl_mmap_hdr
661662
nl_mmap_req
662663
nl_pktinfo

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

+2
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,8 @@ extern "C" {
15411541

15421542
// Added in `glibc` 2.34
15431543
pub fn close_range(first: ::c_uint, last: ::c_uint, flags: ::c_int) -> ::c_int;
1544+
1545+
pub fn mq_notify(mqdes: ::mqd_t, sevp: *const ::sigevent) -> ::c_int;
15441546
}
15451547

15461548
cfg_if! {

0 commit comments

Comments
 (0)