Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: fcntl.h
/* O_*, F_*, FD_* bit values for Linux/x86.
[0] Fix | Delete
Copyright (C) 2001-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 use <bits/fcntl.h> directly; include <fcntl.h> instead."
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
#ifdef __x86_64__
[22] Fix | Delete
# define __O_LARGEFILE 0
[23] Fix | Delete
#endif
[24] Fix | Delete
[25] Fix | Delete
#ifdef __x86_64__
[26] Fix | Delete
/* Not necessary, we always have 64-bit offsets. */
[27] Fix | Delete
# define F_GETLK64 5 /* Get record locking info. */
[28] Fix | Delete
# define F_SETLK64 6 /* Set record locking info (non-blocking). */
[29] Fix | Delete
# define F_SETLKW64 7 /* Set record locking info (blocking). */
[30] Fix | Delete
#endif
[31] Fix | Delete
[32] Fix | Delete
[33] Fix | Delete
struct flock
[34] Fix | Delete
{
[35] Fix | Delete
short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */
[36] Fix | Delete
short int l_whence; /* Where `l_start' is relative to (like `lseek'). */
[37] Fix | Delete
#ifndef __USE_FILE_OFFSET64
[38] Fix | Delete
__off_t l_start; /* Offset where the lock begins. */
[39] Fix | Delete
__off_t l_len; /* Size of the locked area; zero means until EOF. */
[40] Fix | Delete
#else
[41] Fix | Delete
__off64_t l_start; /* Offset where the lock begins. */
[42] Fix | Delete
__off64_t l_len; /* Size of the locked area; zero means until EOF. */
[43] Fix | Delete
#endif
[44] Fix | Delete
__pid_t l_pid; /* Process holding the lock. */
[45] Fix | Delete
};
[46] Fix | Delete
[47] Fix | Delete
#ifdef __USE_LARGEFILE64
[48] Fix | Delete
struct flock64
[49] Fix | Delete
{
[50] Fix | Delete
short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */
[51] Fix | Delete
short int l_whence; /* Where `l_start' is relative to (like `lseek'). */
[52] Fix | Delete
__off64_t l_start; /* Offset where the lock begins. */
[53] Fix | Delete
__off64_t l_len; /* Size of the locked area; zero means until EOF. */
[54] Fix | Delete
__pid_t l_pid; /* Process holding the lock. */
[55] Fix | Delete
};
[56] Fix | Delete
#endif
[57] Fix | Delete
[58] Fix | Delete
/* Include generic Linux declarations. */
[59] Fix | Delete
#include <bits/fcntl-linux.h>
[60] Fix | Delete
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function