mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-30 10:45:40 +03:00 
			
		
		
		
	1999-08-21 Mark Kettenis <kettenis@gnu.org> * stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_, CHAR_T, UCHAR_T and WIN_T to make the code compile again when stdio is used instead of libio. * stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC to make the code compile again when stdio is used instead of libio. (vfprintf): Only check for correct orientation if ORIENT is defined. * stdio-common/Makefile (routines): Only add vfwprintf and vfwscanf if we're using libio. 1999-08-21 Mark Kettenis <kettenis@gnu.org> * include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining any additional prototype just as we do for libio. 1999-08-21 Mark Kettenis <kettenis@gnu.org> * include/bits/xopen_lim.h: Do not define STREAM_MAX and TZNAME_MAX. These limits are not X/Open specific. * stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX is defined. 1999-08-21 Mark Kettenis <kettenis@gnu.org> * Rules: When generated stdio_lim.h, avoid defining IOV_MAX if UIO_MAXIOV is left undefined in sys/uio.h. * stdio-common/stdio_lim.h.in: Adapt for change above. 1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it. * sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL. Patches by Ralf Baechle <ralf@uni-koblenz.de>
		
			
				
	
	
		
			115 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			115 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
 | |
|    This file is part of the GNU C Library.
 | |
| 
 | |
|    The GNU C Library is free software; you can redistribute it and/or
 | |
|    modify it under the terms of the GNU Library General Public License as
 | |
|    published by the Free Software Foundation; either version 2 of the
 | |
|    License, or (at your option) any later version.
 | |
| 
 | |
|    The GNU C Library is distributed in the hope that it will be useful,
 | |
|    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | |
|    Library General Public License for more details.
 | |
| 
 | |
|    You should have received a copy of the GNU Library General Public
 | |
|    License along with the GNU C Library; see the file COPYING.LIB.  If not,
 | |
|    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 | |
|    Boston, MA 02111-1307, USA.  */
 | |
| 
 | |
| /*
 | |
|  * Never include this file directly; use <limits.h> instead.
 | |
|  */
 | |
| 
 | |
| /* Additional definitions from X/Open Portability Guide, Issue 4, Version 2
 | |
|    System Interfaces and Headers, 4.16 <limits.h>
 | |
| 
 | |
|    Please note only the values which are not greater than the minimum
 | |
|    stated in the standard document are listed.  The `sysconf' functions
 | |
|    should be used to obtain the actual value.  */
 | |
| 
 | |
| #ifndef _XOPEN_LIM_H
 | |
| #define _XOPEN_LIM_H	1
 | |
| 
 | |
| #define __need_FOPEN_MAX
 | |
| #define __need_IOV_MAX
 | |
| #include <bits/stdio_lim.h>
 | |
| 
 | |
| /* We do not provide fixed values for
 | |
| 
 | |
|    ARG_MAX	Maximum length of argument to the `exec' function
 | |
| 		including environment data.
 | |
| 
 | |
|    ATEXIT_MAX	Maximum number of functions that may be registered
 | |
| 		with `atexit'.
 | |
| 
 | |
|    CHILD_MAX	Maximum number of simultaneous processes per real
 | |
| 		user ID.
 | |
| 
 | |
|    OPEN_MAX	Maximum number of files that one process can have open
 | |
| 		at anyone time.
 | |
| 
 | |
|    PAGESIZE
 | |
|    PAGE_SIZE	Size of bytes of a page.
 | |
| 
 | |
|    PASS_MAX	Maximum number of significant bytes in a password.
 | |
| 
 | |
|    We only provide a fixed limit for
 | |
| 
 | |
|    IOV_MAX	Maximum number of `iovec' structures that one process has
 | |
| 		available for use with `readv' or writev'.
 | |
| 
 | |
|    if this is indeed fixed by the underlying system.
 | |
| */
 | |
| 
 | |
| 
 | |
| /* Maximum number of `iovec' structures that one process has available
 | |
|    for use with `readv' or writev'.  */
 | |
| #define	_XOPEN_IOV_MAX	_POSIX_UIO_MAXIOV
 | |
| 
 | |
| 
 | |
| /* Maximum value of `digit' in calls to the `printf' and `scanf'
 | |
|    functions.  We have no limit, so return a reasonable value.  */
 | |
| #define NL_ARGMAX	_POSIX_ARG_MAX
 | |
| 
 | |
| /* Maximum number of bytes in a `LANG' name.  We have no limit.  */
 | |
| #define NL_LANGMAX	_POSIX2_LINE_MAX
 | |
| 
 | |
| /* Maximum message number.  We have no limit.  */
 | |
| #define NL_MSGMAX	INT_MAX
 | |
| 
 | |
| /* Maximum number of bytes in N-to-1 collation mapping.  We have no
 | |
|    limit.  */
 | |
| #define NL_NMAX		INT_MAX
 | |
| 
 | |
| /* Maximum set number.  We have no limit.  */
 | |
| #define NL_SETMAX	INT_MAX
 | |
| 
 | |
| /* Maximum number of bytes in a message.  We have no limit.  */
 | |
| #define NL_TEXTMAX	INT_MAX
 | |
| 
 | |
| /* Default process priority.  */
 | |
| #define NZERO		20
 | |
| 
 | |
| 
 | |
| /* Number of bits in a word of type `int'.  */
 | |
| #if INT_MAX == 32767
 | |
| # define WORD_BIT	16
 | |
| #else
 | |
| # if INT_MAX == 2147483647
 | |
| #  define WORD_BIT	32
 | |
| # else
 | |
| /* Safe assumption.  */
 | |
| #  define WORD_BIT	64
 | |
| # endif
 | |
| #endif
 | |
| 
 | |
| /* Number of bits in a word of type `long int'.  */
 | |
| #if INT_MAX == 2147483647
 | |
| # define LONG_BIT	32
 | |
| #else
 | |
| /* Safe assumption.  */
 | |
| # define LONG_BIT	64
 | |
| #endif
 | |
| 
 | |
| #endif /* bits/xopen_lim.h */
 |