Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


posix1_lim.h
001: /* Copyright (C) 1991-1993,96,98,2000-2003,2004 Free Software Foundation, Inc.
002:    This file is part of the GNU C Library.
003: 
004:    The GNU C Library is free software; you can redistribute it and/or
005:    modify it under the terms of the GNU Lesser General Public
006:    License as published by the Free Software Foundation; either
007:    version 2.1 of the License, or (at your option) any later version.
008: 
009:    The GNU C Library is distributed in the hope that it will be useful,
010:    but WITHOUT ANY WARRANTY; without even the implied warranty of
011:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
012:    Lesser General Public License for more details.
013: 
014:    You should have received a copy of the GNU Lesser General Public
015:    License along with the GNU C Library; if not, write to the Free
016:    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
017:    02111-1307 USA.  */
018: 
019: /*
020:  *      POSIX Standard: 2.9.2 Minimum Values    Added to <limits.h>
021:  *
022:  *      Never include this file directly; use <limits.h> instead.
023:  */
024: 
025: #ifndef _BITS_POSIX1_LIM_H
026: #define _BITS_POSIX1_LIM_H      1
027: 
028: 
029: /* These are the standard-mandated minimum values.  */
030: 
031: /* Minimum number of operations in one list I/O call.  */
032: #define _POSIX_AIO_LISTIO_MAX   2
033: 
034: /* Minimal number of outstanding asynchronous I/O operations.  */
035: #define _POSIX_AIO_MAX          1
036: 
037: /* Maximum length of arguments to `execve', including environment.  */
038: #define _POSIX_ARG_MAX          4096
039: 
040: /* Maximum simultaneous processes per real user ID.  */
041: #ifdef __USE_XOPEN2K
042: # define _POSIX_CHILD_MAX       25
043: #else
044: # define _POSIX_CHILD_MAX       6
045: #endif
046: 
047: /* Minimal number of timer expiration overruns.  */
048: #define _POSIX_DELAYTIMER_MAX   32
049: 
050: /* Maximum length of a host name (not including the terminating null)
051:    as returned from the GETHOSTNAME function.  */
052: #define _POSIX_HOST_NAME_MAX    255
053: 
054: /* Maximum link count of a file.  */
055: #define _POSIX_LINK_MAX         8
056: 
057: /* Maximum length of login name.  */
058: #define _POSIX_LOGIN_NAME_MAX   9
059: 
060: /* Number of bytes in a terminal canonical input queue.  */
061: #define _POSIX_MAX_CANON        255
062: 
063: /* Number of bytes for which space will be
064:    available in a terminal input queue.  */
065: #define _POSIX_MAX_INPUT        255
066: 
067: /* Maximum number of message queues open for a process.  */
068: #define _POSIX_MQ_OPEN_MAX      8
069: 
070: /* Maximum number of supported message priorities.  */
071: #define _POSIX_MQ_PRIO_MAX      32
072: 
073: /* Number of bytes in a filename.  */
074: #define _POSIX_NAME_MAX         14
075: 
076: /* Number of simultaneous supplementary group IDs per process.  */
077: #ifdef __USE_XOPEN2K
078: # define _POSIX_NGROUPS_MAX     8
079: #else
080: # define _POSIX_NGROUPS_MAX     0
081: #endif
082: 
083: /* Number of files one process can have open at once.  */
084: #ifdef __USE_XOPEN2K
085: # define _POSIX_OPEN_MAX        20
086: #else
087: # define _POSIX_OPEN_MAX        16
088: #endif
089: 
090: #if !defined __USE_XOPEN2K || defined __USE_GNU
091: /* Number of descriptors that a process may examine with `pselect' or
092:    `select'.  */
093: # define _POSIX_FD_SETSIZE      _POSIX_OPEN_MAX
094: #endif
095: 
096: /* Number of bytes in a pathname.  */
097: #define _POSIX_PATH_MAX         256
098: 
099: /* Number of bytes than can be written atomically to a pipe.  */
100: #define _POSIX_PIPE_BUF         512
101: 
102: /* The number of repeated occurrences of a BRE permitted by the
103:    REGEXEC and REGCOMP functions when using the interval notation.  */
104: #define _POSIX_RE_DUP_MAX       255
105: 
106: /* Minimal number of realtime signals reserved for the application.  */
107: #define _POSIX_RTSIG_MAX        8
108: 
109: /* Number of semaphores a process can have.  */
110: #define _POSIX_SEM_NSEMS_MAX    256
111: 
112: /* Maximal value of a semaphore.  */
113: #define _POSIX_SEM_VALUE_MAX    32767
114: 
115: /* Number of pending realtime signals.  */
116: #define _POSIX_SIGQUEUE_MAX     32
117: 
118: /* Largest value of a `ssize_t'.  */
119: #define _POSIX_SSIZE_MAX        32767
120: 
121: /* Number of streams a process can have open at once.  */
122: #define _POSIX_STREAM_MAX       8
123: 
124: /* The number of bytes in a symbolic link.  */
125: #define _POSIX_SYMLINK_MAX      255
126: 
127: /* The number of symbolic links that can be traversed in the
128:    resolution of a pathname in the absence of a loop.  */
129: #define _POSIX_SYMLOOP_MAX      8
130: 
131: /* Number of timer for a process.  */
132: #define _POSIX_TIMER_MAX        32
133: 
134: /* Maximum number of characters in a tty name.  */
135: #define _POSIX_TTY_NAME_MAX     9
136: 
137: /* Maximum length of a timezone name (element of `tzname').  */
138: #define _POSIX_TZNAME_MAX       6
139: 
140: #if !defined __USE_XOPEN2K || defined __USE_GNU
141: /* Maximum number of connections that can be queued on a socket.  */
142: # define _POSIX_QLIMIT          1
143: 
144: /* Maximum number of bytes that can be buffered on a socket for send
145:    or receive.  */
146: # define _POSIX_HIWAT           _POSIX_PIPE_BUF
147: 
148: /* Maximum number of elements in an `iovec' array.  */
149: # define _POSIX_UIO_MAXIOV      16
150: #endif
151: 
152: /* Maximum clock resolution in nanoseconds.  */
153: #define _POSIX_CLOCKRES_MIN     20000000
154: 
155: 
156: /* Get the implementation-specific values for the above.  */
157: #include <bits/local_lim.h>
158: 
159: 
160: #ifndef SSIZE_MAX
161: # define SSIZE_MAX      LONG_MAX
162: #endif
163: 
164: 
165: /* This value is a guaranteed minimum maximum.
166:    The current maximum can be got from `sysconf'.  */
167: 
168: #ifndef NGROUPS_MAX
169: # define NGROUPS_MAX    8
170: #endif
171: 
172: #endif  /* bits/posix1_lim.h  */
173: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/