mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Include stdio_lim.h to get definition of FOPEN_MAX.
Define STREAM_MAX using FOPEN_MAX.
This commit is contained in:
parent
b6c8aca476
commit
daaae3fef3
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996, 1997 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
|
||||
@ -24,9 +24,11 @@
|
||||
should be used to obtain the actual value. */
|
||||
|
||||
#ifndef _XOPEN_LIM_H
|
||||
|
||||
#define _XOPEN_LIM_H 1
|
||||
|
||||
#define __need_FOPEN_MAX
|
||||
#include <stdio_lim.h>
|
||||
|
||||
/* We do not provide fixed values for
|
||||
|
||||
ARG_MAX Maximum length of argument to the `exec' function
|
||||
@ -53,7 +55,7 @@
|
||||
#define IOV_MAX _XOPEN_IOV_MAX
|
||||
|
||||
/* The number of streams that one process can have open at one time. */
|
||||
#define STREAM_MAX _POSIX_STREAM_MAX
|
||||
#define STREAM_MAX FOPEN_MAX
|
||||
|
||||
/* Maximum number of bytes supported for the name of a time zone. */
|
||||
#define TZNAME_MAX _POSIX_TZNAME_MAX
|
||||
|
Loading…
x
Reference in New Issue
Block a user