Fix linknamespace test handling of architecture-specific st_other.
[glibc.git] / sysdeps / generic / aio_misc.h
blob49aa08e707286650ab04bc1cfc49065ded9e3718
1 /* Internal declarations for <aio.h> functions implementation. Stub version.
2 Copyright (C) 2001-2015 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #ifndef _AIO_MISC_H
20 #define _AIO_MISC_H 1
22 #include <aio.h>
25 /* Extend the operation enum. */
26 enum
28 LIO_DSYNC = LIO_READ + 1,
29 LIO_SYNC,
30 LIO_READ64 = LIO_READ | 128,
31 LIO_WRITE64 = LIO_WRITE | 128
34 /* Union of the two request types. */
35 typedef union
37 struct aiocb aiocb;
38 struct aiocb64 aiocb64;
39 } aiocb_union;
42 /* Send the signal. */
43 extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
44 internal_function;
47 #endif /* aio_misc.h */