summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/grantpt.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-01-15 18:55:52 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-01-15 18:55:52 +0000
commitc7716170efa437a613d28d9b99392b909fd5846d (patch)
tree4b1f90ec6f4f388258ed502a76d0b25aaf70b62f /lib/libc/stdlib/grantpt.c
parent572f347d9ff177655be48ae8dc16fb0a14c6f825 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
-rw-r--r--lib/libc/stdlib/grantpt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdlib/grantpt.c b/lib/libc/stdlib/grantpt.c
index a923288fa7f3..8570f8b2ff4d 100644
--- a/lib/libc/stdlib/grantpt.c
+++ b/lib/libc/stdlib/grantpt.c
@@ -58,15 +58,13 @@ __FBSDID("$FreeBSD$");
#define PTYM_PREFIX "pty" /* pty(4) master naming convention */
#define PTYS_PREFIX "tty" /* pty(4) slave naming convention */
-#define PTMXM_PREFIX "ptc/" /* pts(4) master naming convention */
#define PTMXS_PREFIX "pts/" /* pts(4) slave naming convention */
#define PTMX "ptmx"
/*
* The following are range values for pseudo TTY devices. Pseudo TTYs have a
- * name of /dev/[pt]ty[l-sL-S][0-9a-v], yielding 256 combinations per major.
+ * name of /dev/[pt]ty[l-sL-S][0-9a-v].
*/
-#define PTY_MAX 256
#define PTY_DEV1 "pqrsPQRSlmnoLMNO"
#define PTY_DEV2 "0123456789abcdefghijklmnopqrstuv"