]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/generic/aio_misc.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / generic / aio_misc.h
CommitLineData
5ec73bb9 1/* Internal declarations for <aio.h> functions implementation. Stub version.
04277e02 2 Copyright (C) 2001-2019 Free Software Foundation, Inc.
cbdee279 3 This file is part of the GNU C Library.
cbdee279
UD
4
5 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
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.
cbdee279
UD
9
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
41bdb6e2 13 Lesser General Public License for more details.
cbdee279 14
41bdb6e2 15 You should have received a copy of the GNU Lesser General Public
59ba27a6 16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
cbdee279 18
5ec73bb9
RM
19#ifndef _AIO_MISC_H
20#define _AIO_MISC_H 1
cbdee279 21
5ec73bb9 22#include <aio.h>
cbdee279
UD
23
24
5ec73bb9
RM
25/* Extend the operation enum. */
26enum
cbdee279 27{
5ec73bb9
RM
28 LIO_DSYNC = LIO_READ + 1,
29 LIO_SYNC,
30 LIO_READ64 = LIO_READ | 128,
31 LIO_WRITE64 = LIO_WRITE | 128
32};
33
34/* Union of the two request types. */
35typedef union
36 {
37 struct aiocb aiocb;
38 struct aiocb64 aiocb64;
39 } aiocb_union;
40
41
42/* Send the signal. */
8bcdb7e0
L
43extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid)
44 attribute_hidden;
5ec73bb9
RM
45
46
47#endif /* aio_misc.h */