Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/sys
File: uio.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _SYS_UIO_H
[17] Fix | Delete
#define _SYS_UIO_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
#include <sys/types.h>
[21] Fix | Delete
#include <bits/types/struct_iovec.h>
[22] Fix | Delete
#include <bits/uio_lim.h>
[23] Fix | Delete
#ifdef __IOV_MAX
[24] Fix | Delete
# define UIO_MAXIOV __IOV_MAX
[25] Fix | Delete
#else
[26] Fix | Delete
# undef UIO_MAXIOV
[27] Fix | Delete
#endif
[28] Fix | Delete
[29] Fix | Delete
__BEGIN_DECLS
[30] Fix | Delete
[31] Fix | Delete
/* Read data from file descriptor FD, and put the result in the
[32] Fix | Delete
buffers described by IOVEC, which is a vector of COUNT 'struct iovec's.
[33] Fix | Delete
The buffers are filled in the order specified.
[34] Fix | Delete
Operates just like 'read' (see <unistd.h>) except that data are
[35] Fix | Delete
put in IOVEC instead of a contiguous buffer.
[36] Fix | Delete
[37] Fix | Delete
This function is a cancellation point and therefore not marked with
[38] Fix | Delete
__THROW. */
[39] Fix | Delete
extern ssize_t readv (int __fd, const struct iovec *__iovec, int __count)
[40] Fix | Delete
__wur;
[41] Fix | Delete
[42] Fix | Delete
/* Write data pointed by the buffers described by IOVEC, which
[43] Fix | Delete
is a vector of COUNT 'struct iovec's, to file descriptor FD.
[44] Fix | Delete
The data is written in the order specified.
[45] Fix | Delete
Operates just like 'write' (see <unistd.h>) except that the data
[46] Fix | Delete
are taken from IOVEC instead of a contiguous buffer.
[47] Fix | Delete
[48] Fix | Delete
This function is a cancellation point and therefore not marked with
[49] Fix | Delete
__THROW. */
[50] Fix | Delete
extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
[51] Fix | Delete
__wur;
[52] Fix | Delete
[53] Fix | Delete
[54] Fix | Delete
#ifdef __USE_MISC
[55] Fix | Delete
# ifndef __USE_FILE_OFFSET64
[56] Fix | Delete
/* Read data from file descriptor FD at the given position OFFSET
[57] Fix | Delete
without change the file pointer, and put the result in the buffers
[58] Fix | Delete
described by IOVEC, which is a vector of COUNT 'struct iovec's.
[59] Fix | Delete
The buffers are filled in the order specified. Operates just like
[60] Fix | Delete
'pread' (see <unistd.h>) except that data are put in IOVEC instead
[61] Fix | Delete
of a contiguous buffer.
[62] Fix | Delete
[63] Fix | Delete
This function is a cancellation point and therefore not marked with
[64] Fix | Delete
__THROW. */
[65] Fix | Delete
extern ssize_t preadv (int __fd, const struct iovec *__iovec, int __count,
[66] Fix | Delete
__off_t __offset) __wur;
[67] Fix | Delete
[68] Fix | Delete
/* Write data pointed by the buffers described by IOVEC, which is a
[69] Fix | Delete
vector of COUNT 'struct iovec's, to file descriptor FD at the given
[70] Fix | Delete
position OFFSET without change the file pointer. The data is
[71] Fix | Delete
written in the order specified. Operates just like 'pwrite' (see
[72] Fix | Delete
<unistd.h>) except that the data are taken from IOVEC instead of a
[73] Fix | Delete
contiguous buffer.
[74] Fix | Delete
[75] Fix | Delete
This function is a cancellation point and therefore not marked with
[76] Fix | Delete
__THROW. */
[77] Fix | Delete
extern ssize_t pwritev (int __fd, const struct iovec *__iovec, int __count,
[78] Fix | Delete
__off_t __offset) __wur;
[79] Fix | Delete
[80] Fix | Delete
# else
[81] Fix | Delete
# ifdef __REDIRECT
[82] Fix | Delete
extern ssize_t __REDIRECT (preadv, (int __fd, const struct iovec *__iovec,
[83] Fix | Delete
int __count, __off64_t __offset),
[84] Fix | Delete
preadv64) __wur;
[85] Fix | Delete
extern ssize_t __REDIRECT (pwritev, (int __fd, const struct iovec *__iovec,
[86] Fix | Delete
int __count, __off64_t __offset),
[87] Fix | Delete
pwritev64) __wur;
[88] Fix | Delete
# else
[89] Fix | Delete
# define preadv preadv64
[90] Fix | Delete
# define pwritev pwritev64
[91] Fix | Delete
# endif
[92] Fix | Delete
# endif
[93] Fix | Delete
[94] Fix | Delete
# ifdef __USE_LARGEFILE64
[95] Fix | Delete
/* Read data from file descriptor FD at the given position OFFSET
[96] Fix | Delete
without change the file pointer, and put the result in the buffers
[97] Fix | Delete
described by IOVEC, which is a vector of COUNT 'struct iovec's.
[98] Fix | Delete
The buffers are filled in the order specified. Operates just like
[99] Fix | Delete
'pread' (see <unistd.h>) except that data are put in IOVEC instead
[100] Fix | Delete
of a contiguous buffer.
[101] Fix | Delete
[102] Fix | Delete
This function is a cancellation point and therefore not marked with
[103] Fix | Delete
__THROW. */
[104] Fix | Delete
extern ssize_t preadv64 (int __fd, const struct iovec *__iovec, int __count,
[105] Fix | Delete
__off64_t __offset) __wur;
[106] Fix | Delete
[107] Fix | Delete
/* Write data pointed by the buffers described by IOVEC, which is a
[108] Fix | Delete
vector of COUNT 'struct iovec's, to file descriptor FD at the given
[109] Fix | Delete
position OFFSET without change the file pointer. The data is
[110] Fix | Delete
written in the order specified. Operates just like 'pwrite' (see
[111] Fix | Delete
<unistd.h>) except that the data are taken from IOVEC instead of a
[112] Fix | Delete
contiguous buffer.
[113] Fix | Delete
[114] Fix | Delete
This function is a cancellation point and therefore not marked with
[115] Fix | Delete
__THROW. */
[116] Fix | Delete
extern ssize_t pwritev64 (int __fd, const struct iovec *__iovec, int __count,
[117] Fix | Delete
__off64_t __offset) __wur;
[118] Fix | Delete
# endif
[119] Fix | Delete
#endif /* Use misc. */
[120] Fix | Delete
[121] Fix | Delete
[122] Fix | Delete
#ifdef __USE_GNU
[123] Fix | Delete
# ifndef __USE_FILE_OFFSET64
[124] Fix | Delete
/* Same as preadv but with an additional flag argumenti defined at uio.h. */
[125] Fix | Delete
extern ssize_t preadv2 (int __fp, const struct iovec *__iovec, int __count,
[126] Fix | Delete
__off_t __offset, int ___flags) __wur;
[127] Fix | Delete
[128] Fix | Delete
/* Same as preadv but with an additional flag argument defined at uio.h. */
[129] Fix | Delete
extern ssize_t pwritev2 (int __fd, const struct iovec *__iodev, int __count,
[130] Fix | Delete
__off_t __offset, int __flags) __wur;
[131] Fix | Delete
[132] Fix | Delete
# else
[133] Fix | Delete
# ifdef __REDIRECT
[134] Fix | Delete
extern ssize_t __REDIRECT (pwritev2, (int __fd, const struct iovec *__iovec,
[135] Fix | Delete
int __count, __off64_t __offset,
[136] Fix | Delete
int __flags),
[137] Fix | Delete
pwritev64v2) __wur;
[138] Fix | Delete
extern ssize_t __REDIRECT (preadv2, (int __fd, const struct iovec *__iovec,
[139] Fix | Delete
int __count, __off64_t __offset,
[140] Fix | Delete
int __flags),
[141] Fix | Delete
preadv64v2) __wur;
[142] Fix | Delete
# else
[143] Fix | Delete
# define preadv2 preadv64v2
[144] Fix | Delete
# define pwritev2 pwritev64v2
[145] Fix | Delete
# endif
[146] Fix | Delete
# endif
[147] Fix | Delete
[148] Fix | Delete
# ifdef __USE_LARGEFILE64
[149] Fix | Delete
/* Same as preadv but with an additional flag argumenti defined at uio.h. */
[150] Fix | Delete
extern ssize_t preadv64v2 (int __fp, const struct iovec *__iovec,
[151] Fix | Delete
int __count, __off64_t __offset,
[152] Fix | Delete
int ___flags) __wur;
[153] Fix | Delete
[154] Fix | Delete
/* Same as preadv but with an additional flag argument defined at uio.h. */
[155] Fix | Delete
extern ssize_t pwritev64v2 (int __fd, const struct iovec *__iodev,
[156] Fix | Delete
int __count, __off64_t __offset,
[157] Fix | Delete
int __flags) __wur;
[158] Fix | Delete
# endif
[159] Fix | Delete
#endif /* Use GNU. */
[160] Fix | Delete
[161] Fix | Delete
__END_DECLS
[162] Fix | Delete
[163] Fix | Delete
/* Some operating systems provide system-specific extensions to this
[164] Fix | Delete
header. */
[165] Fix | Delete
#ifdef __USE_GNU
[166] Fix | Delete
# include <bits/uio-ext.h>
[167] Fix | Delete
#endif
[168] Fix | Delete
[169] Fix | Delete
#endif /* sys/uio.h */
[170] Fix | Delete
[171] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function