summaryrefslogtreecommitdiff
path: root/include/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/limits.h b/include/limits.h
index f9998eb748b..772688e8204 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: limits.h,v 1.5 1998/07/11 06:02:44 deraadt Exp $ */
+/* $OpenBSD: limits.h,v 1.6 1998/11/20 11:18:25 d Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/*
@@ -63,6 +63,10 @@
#define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
+/* P1003.1c */
+#define _POSIX_TTY_NAME_MAX 260
+#define _POSIX_LOGIN_NAME_MAX MAXLOGNAME
+
#if !defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE)
#define PASS_MAX 128
@@ -78,6 +82,10 @@
#endif /* !_ANSI_SOURCE */
+/* where does this belong? it is defined by P1003.1c */
+#define TTY_NAME_MAX _POSIX_TTY_NAME_MAX
+#define LOGIN_NAME_MAX MAXLOGNAME
+
#include <machine/limits.h>
#include <sys/syslimits.h>