fix argument names in the mq_* family of functions
It's *msg_prio* in both manpages and posix.
This commit is contained in:
parent
56850068dc
commit
165161bec3
|
@ -1241,13 +1241,13 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_send(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
) -> ::c_int;
|
||||
pub fn mq_setattr(
|
||||
mqd: ::mqd_t,
|
||||
|
@ -1258,14 +1258,14 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_timedsend(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::c_int;
|
||||
pub fn mq_unlink(name: *const ::c_char) -> ::c_int;
|
||||
|
|
|
@ -1627,13 +1627,13 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_send(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
) -> ::c_int;
|
||||
pub fn mq_setattr(
|
||||
mqd: ::mqd_t,
|
||||
|
@ -1645,7 +1645,7 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::ssize_t;
|
||||
#[link_name = "__mq_timedsend50"]
|
||||
|
@ -1653,7 +1653,7 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::c_int;
|
||||
pub fn mq_unlink(name: *const ::c_char) -> ::c_int;
|
||||
|
|
|
@ -2535,26 +2535,26 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_timedreceive(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_send(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
) -> ::c_int;
|
||||
pub fn mq_timedsend(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::c_int;
|
||||
pub fn mq_getattr(mqd: ::mqd_t, attr: *mut ::mq_attr) -> ::c_int;
|
||||
|
|
|
@ -2094,26 +2094,26 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_timedreceive(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_send(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
) -> ::c_int;
|
||||
pub fn mq_timedsend(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
abs_timeout: *const ::timespec,
|
||||
) -> ::c_int;
|
||||
pub fn mq_getattr(mqd: ::mqd_t, attr: *mut ::mq_attr) -> ::c_int;
|
||||
|
|
|
@ -2024,13 +2024,13 @@ extern "C" {
|
|||
mqd: ::mqd_t,
|
||||
msg_ptr: *mut ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: *mut ::c_uint,
|
||||
msg_prio: *mut ::c_uint,
|
||||
) -> ::ssize_t;
|
||||
pub fn mq_send(
|
||||
mqd: ::mqd_t,
|
||||
msg_ptr: *const ::c_char,
|
||||
msg_len: ::size_t,
|
||||
msq_prio: ::c_uint,
|
||||
msg_prio: ::c_uint,
|
||||
) -> ::c_int;
|
||||
pub fn mq_getattr(mqd: ::mqd_t, attr: *mut ::mq_attr) -> ::c_int;
|
||||
pub fn mq_setattr(
|
||||
|
|
Loading…
Reference in New Issue