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

/freebsd-9.3-release/contrib/ntp/include/
H A Dlibntp.h10 * so we will start at FOPEN_MAX
12 #define GETDTABLESIZE() (FOPEN_MAX + FD_CHUNK)
/freebsd-9.3-release/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-9.3-release/lib/libc/stdio/
H A Dfindfp.c67 static FILE usual[FOPEN_MAX - 3];
68 static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
175 n = getdtablesize() - FOPEN_MAX + 20; /* 20 for slop. */
/freebsd-9.3-release/lib/libc/gen/
H A Dsysctl.c170 *(int *)oldp = FOPEN_MAX;
/freebsd-9.3-release/include/
H A Dstdio.h196 * FOPEN_MAX is a minimum maximum, and is the number of streams that
201 #ifndef FOPEN_MAX
202 #define FOPEN_MAX 20 /* must be <= OPEN_MAX <sys/syslimits.h> */ macro
/freebsd-9.3-release/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 */
1637 nfiles = FOPEN_MAX;
1675 int nnf = nfiles + FOPEN_MAX;
1679 memset(&nf[nfiles], 0, FOPEN_MAX * sizeof(*nf));
1751 for (i = 0; i < FOPEN_MAX; i++) {

Completed in 42 milliseconds