Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: mqueue2.h
/* Checking macros for mq functions.
[0] Fix | Delete
Copyright (C) 2007-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _FCNTL_H
[18] Fix | Delete
# error "Never include <bits/mqueue2.h> directly; use <mqueue.h> instead."
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
/* Check that calls to mq_open with O_CREAT set have an appropriate third and fourth
[22] Fix | Delete
parameter. */
[23] Fix | Delete
extern mqd_t mq_open (const char *__name, int __oflag, ...)
[24] Fix | Delete
__THROW __nonnull ((1));
[25] Fix | Delete
extern mqd_t __mq_open_2 (const char *__name, int __oflag)
[26] Fix | Delete
__THROW __nonnull ((1));
[27] Fix | Delete
extern mqd_t __REDIRECT_NTH (__mq_open_alias, (const char *__name,
[28] Fix | Delete
int __oflag, ...), mq_open)
[29] Fix | Delete
__nonnull ((1));
[30] Fix | Delete
__errordecl (__mq_open_wrong_number_of_args,
[31] Fix | Delete
"mq_open can be called either with 2 or 4 arguments");
[32] Fix | Delete
__errordecl (__mq_open_missing_mode_and_attr,
[33] Fix | Delete
"mq_open with O_CREAT in second argument needs 4 arguments");
[34] Fix | Delete
[35] Fix | Delete
__fortify_function mqd_t
[36] Fix | Delete
__NTH (mq_open (const char *__name, int __oflag, ...))
[37] Fix | Delete
{
[38] Fix | Delete
if (__va_arg_pack_len () != 0 && __va_arg_pack_len () != 2)
[39] Fix | Delete
__mq_open_wrong_number_of_args ();
[40] Fix | Delete
[41] Fix | Delete
if (__builtin_constant_p (__oflag))
[42] Fix | Delete
{
[43] Fix | Delete
if ((__oflag & O_CREAT) != 0 && __va_arg_pack_len () == 0)
[44] Fix | Delete
{
[45] Fix | Delete
__mq_open_missing_mode_and_attr ();
[46] Fix | Delete
return __mq_open_2 (__name, __oflag);
[47] Fix | Delete
}
[48] Fix | Delete
return __mq_open_alias (__name, __oflag, __va_arg_pack ());
[49] Fix | Delete
}
[50] Fix | Delete
[51] Fix | Delete
if (__va_arg_pack_len () == 0)
[52] Fix | Delete
return __mq_open_2 (__name, __oflag);
[53] Fix | Delete
[54] Fix | Delete
return __mq_open_alias (__name, __oflag, __va_arg_pack ());
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function