summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtoimax.c
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-01-26 01:30:34 +0000
committercognet <cognet@FreeBSD.org>2006-01-26 01:30:34 +0000
commitaff5d6bf80c7cee1d2a2e3b664554663ba72ae78 (patch)
tree781a0e3abe81e06061d092e0f9ce65e0421206c0 /lib/libc/stdlib/strtoimax.c
parentc912f7e052a7a4f90c0e7de657678a40d3d13619 (diff)
downloadFreeBSD-src-aff5d6bf80c7cee1d2a2e3b664554663ba72ae78.zip
FreeBSD-src-aff5d6bf80c7cee1d2a2e3b664554663ba72ae78.tar.gz
Bring in a sysv-style pts implementation, as found in the rwatson_pts perforce branch. It works the same as its SysV/linux counterpart : You obtain a fd to the master pseudo terminal by opening /dev/ptmx, which craetes a node for the master as /dev/pty[num] and a node for the slave as /dev/pts/[num].
It should play nicely with the existing BSD ptys. By default, the system will use the BSD ptys, one can set the sysctl kern.pts.enable to 1 to make it use the new pts system. The max number of pty that can be allocated on a system can be changed with the sysctl kern.pts.max. It defaults to 1000, and can be increased, but it is not recommanded, as any pty with a number > 999 won't be handled by whatever uses utmp(5).
Diffstat (limited to 'lib/libc/stdlib/strtoimax.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud