by W. Richard Stevens
Addison-Wesley Professional Computing Series
0-201-56317-7 * Hardcover * 768 pages * ©1992
[Buy this book]
Example | Relevant Functions | |
---|---|---|
19.1 | ptym_open, ptys_open |
strcpy,
open,
close, grantpt, unlockpt, ptsname, ioctl |
19.2 | ptym_open, ptys_open |
strcpy,
open,
close, getgrnam, chown, chmod |
19.3 | pty_fork |
err_sys (Stevens' lib), ptym_open, ptys_open, fork, setsid, close, ioctl, strcpy, tcsetattr, dup2 |
19.4 | The pty programpty prog args...
|
isatty,
tcgetattr,
tcsetattr, getopt, optarg, optind, opterr, err_quit (Stevens' lib), err_sys (Stevens' lib), pty_fork (Stevens' func), tty_raw (Stevens' lib), ioctl, execvp, fprintf, atexit, exit, do_driver (Stevens' func), loop (Stevens' func) |
19.5 | loop |
fork,
getpid,
kill,
exit, err_sys (Stevens' lib), read, writen (Stevens' lib), signal_intr (Stevens' lib) |
19.6 | do_driverpty -d driverprog program args...
|
s_pipe,
err_sys (Stevens' lib), fork, close, dup2, execlp, |