Changeset View
Changeset View
Standalone View
Standalone View
include/stdio.h
Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | |||||
* FOPEN_MAX is a minimum maximum, and is the number of streams that | * FOPEN_MAX is a minimum maximum, and is the number of streams that | ||||
* stdio can provide without attempting to allocate further resources | * stdio can provide without attempting to allocate further resources | ||||
* (which could fail). Do not use this for anything. | * (which could fail). Do not use this for anything. | ||||
*/ | */ | ||||
/* must be == _POSIX_STREAM_MAX <limits.h> */ | /* must be == _POSIX_STREAM_MAX <limits.h> */ | ||||
#ifndef FOPEN_MAX | #ifndef FOPEN_MAX | ||||
#define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ | #define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ | ||||
#endif | #endif | ||||
#define FILENAME_MAX 1024 /* must be <= PATH_MAX <sys/syslimits.h> */ | #define FILENAME_MAX 4096 /* must be <= PATH_MAX <sys/syslimits.h> */ | ||||
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ | /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ | ||||
#if __XSI_VISIBLE | #if __XSI_VISIBLE | ||||
#define P_tmpdir "/tmp/" | #define P_tmpdir "/tmp/" | ||||
#endif | #endif | ||||
#define L_tmpnam 1024 /* XXX must be == PATH_MAX */ | #define L_tmpnam 1024 /* XXX must be == PATH_MAX */ | ||||
#define TMP_MAX 308915776 | #define TMP_MAX 308915776 | ||||
▲ Show 20 Lines • Show All 294 Lines • Show Last 20 Lines |