Don't use JUMPTARGET macro on syscall_error. For PIC, it is a local label;
[glibc/history.git] / posix / posix1_lim.h
blobacbfa64481c7d04b62d349ab3066124fb0efe28d
1 /* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public
15 License along with the GNU C Library; see the file COPYING.LIB. If
16 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
17 Cambridge, MA 02139, USA. */
20 * POSIX Standard: 2.9.2 Minimum Values Added to <limits.h>
23 #ifndef _POSIX1_LIMITS_H
25 #define _POSIX1_LIMITS_H 1
28 /* These are the standard-mandated minimum values. */
30 /* Maximum length of arguments to `execve', including environment. */
31 #define _POSIX_ARG_MAX 4096
33 /* Maximum simultaneous processes per real user ID. */
34 #define _POSIX_CHILD_MAX 6
36 /* Maximum link count of a file. */
37 #define _POSIX_LINK_MAX 8
39 /* Number of bytes in a terminal canonical input queue. */
40 #define _POSIX_MAX_CANON 255
42 /* Number of bytes for which space will be
43 available in a terminal input queue. */
44 #define _POSIX_MAX_INPUT 255
46 /* Number of simultaneous supplementary group IDs per process. */
47 #define _POSIX_NGROUPS_MAX 0
49 /* Number of files one process can have open at once. */
50 #define _POSIX_OPEN_MAX 16
52 /* Number of bytes in a filename. */
53 #define _POSIX_NAME_MAX 14
55 /* Number of bytes in a pathname. */
56 #define _POSIX_PATH_MAX 255
58 /* Number of bytes than can be written atomically to a pipe. */
59 #define _POSIX_PIPE_BUF 512
61 /* Largest value of a `ssize_t'. */
62 #define _POSIX_SSIZE_MAX 32767
64 /* Number of streams a process can have open at once. */
65 #define _POSIX_STREAM_MAX 8
67 /* Maximum length of a timezone name (element of `tzname'). */
68 #define _POSIX_TZNAME_MAX 3
71 /* Get the implementation-specific values for the above. */
72 #include <local_lim.h>
75 #ifndef SSIZE_MAX
76 #define SSIZE_MAX INT_MAX
77 #endif
80 /* This value is a guaranteed minimum maximum.
81 The current maximum can be got from `sysconf'. */
83 #ifndef NGROUPS_MAX
84 #define NGROUPS_MAX _POSIX_NGROUPS_MAX
85 #endif
87 #endif /* posix1_limits.h */