Browse Source

provide TMP_MAX like stdio.h; kleink

OPENBSD_2_4
deraadt 26 years ago
parent
commit
0c67318ce2
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      src/include/limits.h

+ 7
- 4
src/include/limits.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: limits.h,v 1.4 1997/09/21 10:45:39 niklas Exp $ */
/* $OpenBSD: limits.h,v 1.5 1998/07/11 06:02:44 deraadt Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/*
@ -62,9 +62,8 @@
#define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
#endif /* !_ANSI_SOURCE */
#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE)
#if !defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE)
#define PASS_MAX 128
#define NL_ARGMAX 9
@ -73,7 +72,11 @@
#define NL_NMAX 1
#define NL_SETMAX 255
#define NL_TEXTMAX 255
#endif
#define TMP_MAX 308915776
#endif /* !_POSIX_C_SOURCE || _XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
#include <machine/limits.h>
#include <sys/syslimits.h>


Loading…
Cancel
Save