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

/freebsd-10-stable/contrib/ntp/include/
H A Dlibntp.h10 * so we will start at FOPEN_MAX
12 #define GETDTABLESIZE() (FOPEN_MAX + FD_CHUNK)
/freebsd-10-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-10-stable/lib/libc/stdio/
H A Dfindfp.c67 static FILE usual[FOPEN_MAX - 3];
68 static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
176 n = getdtablesize() - FOPEN_MAX + 20; /* 20 for slop. */
/freebsd-10-stable/lib/libc/gen/
H A Dsysctl.c185 *(int *)oldp = FOPEN_MAX;
/freebsd-10-stable/include/
H A Dstdio.h199 * FOPEN_MAX is a minimum maximum, and is the number of streams that
204 #ifndef FOPEN_MAX
205 #define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ macro
/freebsd-10-stable/contrib/one-true-awk/
H A Drun.c57 /* #ifndef FOPEN_MAX */
58 /* #define FOPEN_MAX _NFILE */
62 /* #ifndef FOPEN_MAX */
63 /* #define FOPEN_MAX 40 */ /* max number of open files */
1639 nfiles = FOPEN_MAX;
1677 int nnf = nfiles + FOPEN_MAX;
1681 memset(&nf[nfiles], 0, FOPEN_MAX * sizeof(*nf));
1753 for (i = 0; i < FOPEN_MAX; i++) {

Completed in 84 milliseconds