Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
xopen_lim.h
Go to the documentation of this file.
00001 /* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003 
00004    The GNU C Library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public License as
00006    published by the Free Software Foundation; either version 2 of the
00007    License, or (at your option) any later version.
00008 
00009    The GNU C Library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU Library General Public
00015    License along with the GNU C Library; see the file COPYING.LIB.  If not,
00016    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017    Boston, MA 02111-1307, USA.  */
00018 
00019 /* Additional definitions from X/Open Portability Guide, Issue 4, Version 2
00020    System Interfaces and Headers, 4.16 <limits.h>
00021 
00022    Please note only the values which are not greater than the minimum
00023    stated in the standard document are listed.  The `sysconf' functions
00024    should be used to obtain the actual value.  */
00025 
00026 #ifndef _XOPEN_LIM_H
00027 #define _XOPEN_LIM_H    1
00028 
00029 #define __need_FOPEN_MAX
00030 #include <stdio_lim.h>
00031 
00032 /* We do not provide fixed values for
00033 
00034    ARG_MAX      Maximum length of argument to the `exec' function
00035                 including environment data.
00036 
00037    ATEXIT_MAX   Maximum number of functions that may be registered
00038                 with `atexit'.
00039 
00040    CHILD_MAX    Maximum number of simultaneous processes per real
00041                 user ID.
00042 
00043    OPEN_MAX     Maximum number of files that one process can have open
00044                 at anyone time.
00045 
00046    PAGESIZE
00047    PAGE_SIZE    Size of bytes of a page.
00048 
00049    PASS_MAX     Maximum number of significant bytes in a password.
00050 */
00051 
00052 
00053 /* Maximum number of `iovec' structures that one process has available
00054    for use with `readv' or writev'.  */
00055 #define IOV_MAX         _XOPEN_IOV_MAX
00056 
00057 /* The number of streams that one process can have open at one time.  */
00058 #define STREAM_MAX      FOPEN_MAX
00059 
00060 /* Maximum number of bytes supported for the name of a time zone.  */
00061 #define TZNAME_MAX      _POSIX_TZNAME_MAX
00062 
00063 
00064 /* Maximum number of `iovec' structures that one process has available
00065    for use with `readv' or writev'.  */
00066 #define _XOPEN_IOV_MAX  _POSIX_UIO_MAXIOV
00067 
00068 
00069 /* Maximum value of `digit' in calls to the `printf' and `scanf'
00070    functions.  We have no limit, so return a reasonable value.  */
00071 #define NL_ARGMAX       _POSIX_ARG_MAX
00072 
00073 /* Maximum number of bytes in a `LANG' name.  We have no limit.  */
00074 #define NL_LANGMAX      _POSIX2_LINE_MAX
00075 
00076 /* Default process priority.  */
00077 #define NZERO           20
00078 
00079 #endif /* xopen_lim.h */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines