Server IP : 103.169.32.36 / Your IP : 216.73.217.13 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/include/ |
Upload File : |
| Current File : /proc/self/root/usr/include/aio.h |
/* Copyright (C) 1996-2000,2003,2004,2007,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
/*
* ISO/IEC 9945-1:1996 6.7: Asynchronous Input and Output
*/
#ifndef _AIO_H
#define _AIO_H 1
#include <features.h>
#include <sys/types.h>
#define __need_sigevent_t
#include <bits/siginfo.h>
#define __need_timespec
#include <time.h>
__BEGIN_DECLS
/* Asynchronous I/O control block. */
struct aiocb
{
int aio_fildes; /* File desriptor. */
int aio_lio_opcode; /* Operation to be performed. */
int aio_reqprio; /* Request priority offset. */
volatile void *aio_buf; /* Location of buffer. */
size_t aio_nbytes; /* Length of transfer. */
struct sigevent aio_sigevent; /* Signal number and value. */
/* Internal members. */
struct aiocb *__next_prio;
int __abs_prio;
int __policy;
int __error_code;
__ssize_t __return_value;
#ifndef __USE_FILE_OFFSET64
__off_t aio_offset; /* File offset. */
char __pad[sizeof (__off64_t) - sizeof (__off_t)];
#else
__off64_t aio_offset; /* File offset. */
#endif
char __unused[32];
};
/* The same for the 64bit offsets. Please note that the members aio_fildes
to __return_value have to be the same in aiocb and aiocb64. */
#ifdef __USE_LARGEFILE64
struct aiocb64
{
int aio_fildes; /* File desriptor. */
int aio_lio_opcode; /* Operation to be performed. */
int aio_reqprio; /* Request priority offset. */
volatile void *aio_buf; /* Location of buffer. */
size_t aio_nbytes; /* Length of transfer. */
struct sigevent aio_sigevent; /* Signal number and value. */
/* Internal members. */
struct aiocb *__next_prio;
int __abs_prio;
int __policy;
int __error_code;
__ssize_t __return_value;
__off64_t aio_offset; /* File offset. */
char __unused[32];
};
#endif
#ifdef __USE_GNU
/* To customize the implementation one can use the following struct.
This implementation follows the one in Irix. */
struct aioinit
{
int aio_threads; /* Maximal number of threads. */
int aio_num; /* Number of expected simultanious requests. */
int aio_locks; /* Not used. */
int aio_usedba; /* Not used. */
int aio_debug; /* Not used. */
int aio_numusers; /* Not used. */
int aio_idle_time; /* Number of seconds before idle thread
terminates. */
int aio_reserved;
};
#endif
/* Return values of cancelation function. */
enum
{
AIO_CANCELED,
#define AIO_CANCELED AIO_CANCELED
AIO_NOTCANCELED,
#define AIO_NOTCANCELED AIO_NOTCANCELED
AIO_ALLDONE
#define AIO_ALLDONE AIO_ALLDONE
};
/* Operation codes for `aio_lio_opcode'. */
enum
{
LIO_READ,
#define LIO_READ LIO_READ
LIO_WRITE,
#define LIO_WRITE LIO_WRITE
LIO_NOP
#define LIO_NOP LIO_NOP
};
/* Synchronization options for `lio_listio' function. */
enum
{
LIO_WAIT,
#define LIO_WAIT LIO_WAIT
LIO_NOWAIT
#define LIO_NOWAIT LIO_NOWAIT
};
/* Allow user to specify optimization. */
#ifdef __USE_GNU
extern void aio_init (const struct aioinit *__init) __THROW __nonnull ((1));
#endif
#ifndef __USE_FILE_OFFSET64
/* Enqueue read request for given number of bytes and the given priority. */
extern int aio_read (struct aiocb *__aiocbp) __THROW __nonnull ((1));
/* Enqueue write request for given number of bytes and the given priority. */
extern int aio_write (struct aiocb *__aiocbp) __THROW __nonnull ((1));
/* Initiate list of I/O requests. */
extern int lio_listio (int __mode,
struct aiocb *const __list[__restrict_arr],
int __nent, struct sigevent *__restrict __sig)
__THROW __nonnull ((2));
/* Retrieve error status associated with AIOCBP. */
extern int aio_error (const struct aiocb *__aiocbp) __THROW __nonnull ((1));
/* Return status associated with AIOCBP. */
extern __ssize_t aio_return (struct aiocb *__aiocbp) __THROW __nonnull ((1));
/* Try to cancel asynchronous I/O requests outstanding against file
descriptor FILDES. */
extern int aio_cancel (int __fildes, struct aiocb *__aiocbp) __THROW;
/* Suspend calling thread until at least one of the asynchronous I/O
operations referenced by LIST has completed.
This function is a cancellation point and therefore not marked with
__THROW. */
extern int aio_suspend (const struct aiocb *const __list[], int __nent,
const struct timespec *__restrict __timeout)
__nonnull ((1));
/* Force all operations associated with file desriptor described by
`aio_fildes' member of AIOCBP. */
extern int aio_fsync (int __operation, struct aiocb *__aiocbp)
__THROW __nonnull ((2));
#else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (aio_read, (struct aiocb *__aiocbp), aio_read64)
__nonnull ((1));
extern int __REDIRECT_NTH (aio_write, (struct aiocb *__aiocbp), aio_write64)
__nonnull ((1));
extern int __REDIRECT_NTH (lio_listio,
(int __mode,
struct aiocb *const __list[__restrict_arr],
int __nent, struct sigevent *__restrict __sig),
lio_listio64) __nonnull ((2));
extern int __REDIRECT_NTH (aio_error, (const struct aiocb *__aiocbp),
aio_error64) __nonnull ((1));
extern __ssize_t __REDIRECT_NTH (aio_return, (struct aiocb *__aiocbp),
aio_return64) __nonnull ((1));
extern int __REDIRECT_NTH (aio_cancel,
(int __fildes, struct aiocb *__aiocbp),
aio_cancel64);
extern int __REDIRECT_NTH (aio_suspend,
(const struct aiocb *const __list[], int __nent,
const struct timespec *__restrict __timeout),
aio_suspend64) __nonnull ((1));
extern int __REDIRECT_NTH (aio_fsync,
(int __operation, struct aiocb *__aiocbp),
aio_fsync64) __nonnull ((2));
# else
# define aio_read aio_read64
# define aio_write aio_write64
# define lio_listio lio_listio64
# define aio_error aio_error64
# define aio_return aio_return64
# define aio_cancel aio_cancel64
# define aio_suspend aio_suspend64
# define aio_fsync aio_fsync64
# endif
#endif
#ifdef __USE_LARGEFILE64
extern int aio_read64 (struct aiocb64 *__aiocbp) __THROW __nonnull ((1));
extern int aio_write64 (struct aiocb64 *__aiocbp) __THROW __nonnull ((1));
extern int lio_listio64 (int __mode,
struct aiocb64 *const __list[__restrict_arr],
int __nent, struct sigevent *__restrict __sig)
__THROW __nonnull ((2));
extern int aio_error64 (const struct aiocb64 *__aiocbp)
__THROW __nonnull ((1));
extern __ssize_t aio_return64 (struct aiocb64 *__aiocbp)
__THROW __nonnull ((1));
extern int aio_cancel64 (int __fildes, struct aiocb64 *__aiocbp) __THROW;
extern int aio_suspend64 (const struct aiocb64 *const __list[], int __nent,
const struct timespec *__restrict __timeout)
__THROW __nonnull ((1));
extern int aio_fsync64 (int __operation, struct aiocb64 *__aiocbp)
__THROW __nonnull ((2));
#endif
__END_DECLS
#endif /* aio.h */
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
December 20 2023 04:35:41 |
0 / 0 |
0755 |
|
| arpa |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| asm |
-- |
September 29 2025 07:00:07 |
0 / 0 |
0755 |
|
| asm-generic |
-- |
September 29 2025 07:00:07 |
0 / 0 |
0755 |
|
| bits |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| drm |
-- |
September 29 2025 07:00:07 |
0 / 0 |
0755 |
|
| gnu |
-- |
September 29 2025 07:00:44 |
0 / 0 |
0755 |
|
| linux |
-- |
September 29 2025 07:00:08 |
0 / 0 |
0755 |
|
| misc |
-- |
September 29 2025 07:00:08 |
0 / 0 |
0755 |
|
| mtd |
-- |
September 29 2025 07:00:08 |
0 / 0 |
0755 |
|
| net |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netash |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netatalk |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netax25 |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| neteconet |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netinet |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netipx |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netiucv |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netpacket |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netrom |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| netrose |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| nfs |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| protocols |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| python2.7 |
-- |
December 20 2023 04:52:57 |
0 / 0 |
0755 |
|
| rdma |
-- |
September 29 2025 07:00:08 |
0 / 0 |
0755 |
|
| rpc |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| rpcsvc |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| scsi |
-- |
September 29 2025 07:00:19 |
0 / 0 |
0755 |
|
| sound |
-- |
September 29 2025 07:00:09 |
0 / 0 |
0755 |
|
| sys |
-- |
September 29 2025 07:00:20 |
0 / 0 |
0755 |
|
| uapi |
-- |
June 04 2024 14:55:03 |
0 / 0 |
0755 |
|
| video |
-- |
September 29 2025 07:00:09 |
0 / 0 |
0755 |
|
| xen |
-- |
September 29 2025 07:00:09 |
0 / 0 |
0755 |
|
| | | | | |
| _G_config.h |
1.257 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| a.out.h |
4.249 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| aio.h |
7.271 KB |
June 04 2024 14:43:45 |
0 / 0 |
0644 |
|
| aliases.h |
2.002 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| alloca.h |
1.193 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| ar.h |
1.685 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| argp.h |
24.754 KB |
June 04 2024 14:43:43 |
0 / 0 |
0644 |
|
| argz.h |
6.965 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| assert.h |
3.524 KB |
June 04 2024 14:43:06 |
0 / 0 |
0644 |
|
| byteswap.h |
1.406 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| complex.h |
3.617 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| cpio.h |
2.215 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| cpufreq.h |
5.799 KB |
June 04 2024 14:55:10 |
0 / 0 |
0644 |
|
| crypt.h |
2.217 KB |
June 04 2024 14:43:43 |
0 / 0 |
0644 |
|
| ctype.h |
11.523 KB |
June 04 2024 14:43:06 |
0 / 0 |
0644 |
|
| dirent.h |
12.339 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| dlfcn.h |
6.875 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| elf.h |
141.013 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| endian.h |
2.95 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| envz.h |
2.819 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| err.h |
2.183 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| errno.h |
2.329 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| error.h |
2.011 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| execinfo.h |
1.505 KB |
June 04 2024 14:43:45 |
0 / 0 |
0644 |
|
| fcntl.h |
9.888 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| features.h |
12.873 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| fenv.h |
4.495 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| fmtmsg.h |
3.182 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| fnmatch.h |
2.267 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| fpu_control.h |
3.499 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| fstab.h |
3.038 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| fts.h |
5.166 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| ftw.h |
5.146 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| gconv.h |
5.159 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| getopt.h |
6.525 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| glob.h |
6.513 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| gnu-versions.h |
2.294 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| grp.h |
6.755 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| gshadow.h |
4.434 KB |
June 04 2024 14:43:42 |
0 / 0 |
0644 |
|
| iconv.h |
1.831 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| ieee754.h |
4.808 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| ifaddrs.h |
2.769 KB |
June 04 2024 14:43:47 |
0 / 0 |
0644 |
|
| inttypes.h |
11.606 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| langinfo.h |
15.566 KB |
June 04 2024 14:43:01 |
0 / 0 |
0644 |
|
| lastlog.h |
0.123 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| libgen.h |
1.365 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| libintl.h |
4.489 KB |
June 04 2024 14:43:06 |
0 / 0 |
0644 |
|
| libio.h |
16.871 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| limits.h |
4.423 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| link.h |
6.986 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| locale.h |
7.782 KB |
June 04 2024 14:43:01 |
0 / 0 |
0644 |
|
| malloc.h |
6.437 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| math.h |
15.7 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| mcheck.h |
2.397 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| memory.h |
0.939 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| mntent.h |
3.296 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| monetary.h |
1.728 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| mqueue.h |
3.702 KB |
June 04 2024 14:43:45 |
0 / 0 |
0644 |
|
| netdb.h |
27.456 KB |
June 04 2024 14:43:44 |
0 / 0 |
0644 |
|
| nl_types.h |
1.73 KB |
June 04 2024 14:43:06 |
0 / 0 |
0644 |
|
| nss.h |
1.853 KB |
June 04 2024 14:43:45 |
0 / 0 |
0644 |
|
| obstack.h |
18.842 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| paths.h |
2.907 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| poll.h |
0.021 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| printf.h |
6.563 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| pthread.h |
39.952 KB |
June 04 2024 14:43:44 |
0 / 0 |
0644 |
|
| pty.h |
1.507 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| pwd.h |
5.873 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| re_comp.h |
0.935 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| regex.h |
21.578 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| regexp.h |
6.887 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| resolv.h |
14.673 KB |
June 04 2024 14:43:44 |
0 / 0 |
0644 |
|
| sched.h |
4.553 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| search.h |
5.112 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| semaphore.h |
2.358 KB |
June 04 2024 14:43:44 |
0 / 0 |
0644 |
|
| setjmp.h |
3.967 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| sgtty.h |
1.331 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| shadow.h |
5.096 KB |
June 04 2024 14:43:42 |
0 / 0 |
0644 |
|
| signal.h |
13.301 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| spawn.h |
6.53 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| stab.h |
0.258 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| stdc-predef.h |
1.591 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| stdint.h |
7.944 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| stdio.h |
30.899 KB |
June 04 2024 14:43:09 |
0 / 0 |
0644 |
|
| stdio_ext.h |
2.74 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| stdlib.h |
33.232 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| string.h |
21.75 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| strings.h |
4.546 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| syscall.h |
0.024 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| sysexits.h |
5.109 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| syslog.h |
0.023 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| tar.h |
3.673 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| termio.h |
0.209 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| termios.h |
3.521 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| tgmath.h |
18.108 KB |
June 04 2024 14:43:07 |
0 / 0 |
0644 |
|
| thread_db.h |
15.649 KB |
June 04 2024 14:43:46 |
0 / 0 |
0644 |
|
| time.h |
13.402 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| ttyent.h |
2.436 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| uchar.h |
2.425 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| ucontext.h |
1.916 KB |
June 04 2024 14:43:08 |
0 / 0 |
0644 |
|
| ulimit.h |
1.553 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| unistd.h |
41.777 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| ustat.h |
0.022 KB |
June 04 2024 14:43:12 |
0 / 0 |
0644 |
|
| utime.h |
1.495 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| utmp.h |
3.158 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| utmpx.h |
4.021 KB |
June 04 2024 14:43:49 |
0 / 0 |
0644 |
|
| values.h |
1.916 KB |
June 04 2024 14:43:00 |
0 / 0 |
0644 |
|
| wait.h |
0.021 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| wchar.h |
31.366 KB |
June 04 2024 14:43:10 |
0 / 0 |
0644 |
|
| wctype.h |
10.894 KB |
June 04 2024 14:43:13 |
0 / 0 |
0644 |
|
| wordexp.h |
2.47 KB |
June 04 2024 14:43:11 |
0 / 0 |
0644 |
|
| xlocale.h |
1.664 KB |
June 04 2024 14:43:01 |
0 / 0 |
0644 |
|