Update posix_openpt(3) to handle 512 ptys. This was missed in the earlier
pty(4) changes. MFC after: 3 days
This commit is contained in:
parent
e2be0fd00d
commit
ca81364fb1
@ -63,10 +63,10 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* The following are range values for pseudo TTY devices. Pseudo TTYs have a
|
||||
* name of /dev/[pt]ty[p-sP-S][0-9a-v], yielding 256 combinations per major.
|
||||
* name of /dev/[pt]ty[l-sL-S][0-9a-v], yielding 256 combinations per major.
|
||||
*/
|
||||
#define PT_MAX 256
|
||||
#define PT_DEV1 "pqrsPQRS"
|
||||
#define PT_DEV1 "pqrsPQRSlmnoLMNO"
|
||||
#define PT_DEV2 "0123456789abcdefghijklmnopqrstuv"
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user