Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sys
File: param.h
/* Compatibility header for old-style Unix parameters and limits.
[0] Fix | Delete
Copyright (C) 1995-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 _SYS_PARAM_H
[18] Fix | Delete
#define _SYS_PARAM_H 1
[19] Fix | Delete
[20] Fix | Delete
#define __need_NULL
[21] Fix | Delete
#include <stddef.h>
[22] Fix | Delete
[23] Fix | Delete
#include <sys/types.h>
[24] Fix | Delete
#include <limits.h>
[25] Fix | Delete
#include <endian.h> /* Define BYTE_ORDER et al. */
[26] Fix | Delete
#include <signal.h> /* Define NSIG. */
[27] Fix | Delete
[28] Fix | Delete
/* This file defines some things in system-specific ways. */
[29] Fix | Delete
#include <bits/param.h>
[30] Fix | Delete
[31] Fix | Delete
[32] Fix | Delete
/* BSD names for some <limits.h> values. */
[33] Fix | Delete
[34] Fix | Delete
#define NBBY CHAR_BIT
[35] Fix | Delete
[36] Fix | Delete
#if !defined NGROUPS && defined NGROUPS_MAX
[37] Fix | Delete
# define NGROUPS NGROUPS_MAX
[38] Fix | Delete
#endif
[39] Fix | Delete
#if !defined MAXSYMLINKS && defined SYMLOOP_MAX
[40] Fix | Delete
# define MAXSYMLINKS SYMLOOP_MAX
[41] Fix | Delete
#endif
[42] Fix | Delete
#if !defined CANBSIZ && defined MAX_CANON
[43] Fix | Delete
# define CANBSIZ MAX_CANON
[44] Fix | Delete
#endif
[45] Fix | Delete
#if !defined MAXPATHLEN && defined PATH_MAX
[46] Fix | Delete
# define MAXPATHLEN PATH_MAX
[47] Fix | Delete
#endif
[48] Fix | Delete
#if !defined NOFILE && defined OPEN_MAX
[49] Fix | Delete
# define NOFILE OPEN_MAX
[50] Fix | Delete
#endif
[51] Fix | Delete
#if !defined MAXHOSTNAMELEN && defined HOST_NAME_MAX
[52] Fix | Delete
# define MAXHOSTNAMELEN HOST_NAME_MAX
[53] Fix | Delete
#endif
[54] Fix | Delete
#ifndef NCARGS
[55] Fix | Delete
# ifdef ARG_MAX
[56] Fix | Delete
# define NCARGS ARG_MAX
[57] Fix | Delete
# else
[58] Fix | Delete
/* ARG_MAX is unlimited, but we define NCARGS for BSD programs that want to
[59] Fix | Delete
compare against some fixed limit. */
[60] Fix | Delete
# define NCARGS INT_MAX
[61] Fix | Delete
# endif
[62] Fix | Delete
#endif
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
/* Magical constants. */
[66] Fix | Delete
#ifndef NOGROUP
[67] Fix | Delete
# define NOGROUP 65535 /* Marker for empty group set member. */
[68] Fix | Delete
#endif
[69] Fix | Delete
#ifndef NODEV
[70] Fix | Delete
# define NODEV ((dev_t) -1) /* Non-existent device. */
[71] Fix | Delete
#endif
[72] Fix | Delete
[73] Fix | Delete
[74] Fix | Delete
/* Unit of `st_blocks'. */
[75] Fix | Delete
#ifndef DEV_BSIZE
[76] Fix | Delete
# define DEV_BSIZE 512
[77] Fix | Delete
#endif
[78] Fix | Delete
[79] Fix | Delete
[80] Fix | Delete
/* Bit map related macros. */
[81] Fix | Delete
#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
[82] Fix | Delete
#define clrbit(a,i) ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
[83] Fix | Delete
#define isset(a,i) ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
[84] Fix | Delete
#define isclr(a,i) (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
[85] Fix | Delete
[86] Fix | Delete
/* Macros for counting and rounding. */
[87] Fix | Delete
#ifndef howmany
[88] Fix | Delete
# define howmany(x, y) (((x) + ((y) - 1)) / (y))
[89] Fix | Delete
#endif
[90] Fix | Delete
#ifdef __GNUC__
[91] Fix | Delete
# define roundup(x, y) (__builtin_constant_p (y) && powerof2 (y) \
[92] Fix | Delete
? (((x) + (y) - 1) & ~((y) - 1)) \
[93] Fix | Delete
: ((((x) + ((y) - 1)) / (y)) * (y)))
[94] Fix | Delete
#else
[95] Fix | Delete
# define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y))
[96] Fix | Delete
#endif
[97] Fix | Delete
#define powerof2(x) ((((x) - 1) & (x)) == 0)
[98] Fix | Delete
[99] Fix | Delete
/* Macros for min/max. */
[100] Fix | Delete
#define MIN(a,b) (((a)<(b))?(a):(b))
[101] Fix | Delete
#define MAX(a,b) (((a)>(b))?(a):(b))
[102] Fix | Delete
[103] Fix | Delete
[104] Fix | Delete
#endif /* sys/param.h */
[105] Fix | Delete
[106] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function