Searched refs:FOPEN_MAX (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/ntp/include/
H A Dlibntp.h10 * so we will start at FOPEN_MAX
12 #define GETDTABLESIZE() (FOPEN_MAX + FD_CHUNK)
/freebsd-13-stable/contrib/ntp/libntp/
H A Dsocket.c29 * [0..FOPEN_MAX)
32 * FOPEN_MAX. This is not as easy as it sounds as
33 * FOPEN_MAX changes from implementation to implementation
37 * max(0, min(GETDTABLESIZE() - FD_CHUNK, FOPEN_MAX))
62 #ifndef FOPEN_MAX
63 #define FOPEN_MAX 20 macro
89 min(FOPEN_MAX, FD_PREFERRED_SOCKBOUNDARY)));
/freebsd-13-stable/lib/libc/stdio/
H A Dfindfp.c70 static FILE usual[FOPEN_MAX - 3];
71 static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
181 n = getdtablesize() - FOPEN_MAX + 20; /* 20 for slop. */
/freebsd-13-stable/lib/libc/gen/
H A Dsysctl.c201 *(int *)oldp = FOPEN_MAX;
/freebsd-13-stable/include/
H A Dstdio.h213 * FOPEN_MAX is a minimum maximum, and is the number of streams that
218 #ifndef FOPEN_MAX
219 #define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ macro
/freebsd-13-stable/contrib/one-true-awk/
H A Drun.c59 /* #ifndef FOPEN_MAX */
60 /* #define FOPEN_MAX _NFILE */
64 /* #ifndef FOPEN_MAX */
65 /* #define FOPEN_MAX 40 */ /* max number of open files */
1765 nfiles = FOPEN_MAX;
1803 int nnf = nfiles + FOPEN_MAX;
1807 memset(&nf[nfiles], 0, FOPEN_MAX * sizeof(*nf));
1878 for (i = 0; i < FOPEN_MAX; i++) {

Completed in 86 milliseconds