diff --git a/man3/openpty.3 b/man3/openpty.3 index ace869336..27c8afbe1 100644 --- a/man3/openpty.3 +++ b/man3/openpty.3 @@ -49,7 +49,7 @@ Link with \-lutil. .SH DESCRIPTION The .B openpty() -function finds an available pseudo-tty and returns file descriptors +function finds an available pseudo-terminal and returns file descriptors for the master and slave in .I amaster and @@ -72,7 +72,7 @@ The .B login_tty() function prepares for a login on the tty .I fd -(which may be a real tty device, or the slave of a pseudo-tty as +(which may be a real tty device, or the slave of a pseudo-terminal as returned by .BR openpty() ) by creating a new session, making @@ -90,8 +90,8 @@ function combines .BR fork() , and .B login_tty() -to create a new process operating in a pseudo-tty. The file -descriptor of the master side of the pseudo-tty is returned in +to create a new process operating in a pseudo-terminal. The file +descriptor of the master side of the pseudo-terminal is returned in .IR amaster , and the filename of the slave in .I name @@ -101,7 +101,7 @@ and .I winp parameters, if not NULL, will determine the terminal attributes and window size of the slave -side of the pseudo-tty. +side of the pseudo-terminal. .SH "RETURN VALUES" If a call to .BR openpty() , diff --git a/man4/tty_ioctl.4 b/man4/tty_ioctl.4 index e7428d8e8..ab74a5eeb 100644 --- a/man4/tty_ioctl.4 +++ b/man4/tty_ioctl.4 @@ -264,7 +264,7 @@ Set the line discipline of the tty. Enable (when .RI * argp is non-zero) or disable packet mode. -Can be applied to the master side of a pseudotty only (and will return +Can be applied to the master side of a pseudo-terminal only (and will return ENOTTY otherwise). In packet mode, each subsequent .BR read (2) will return a packet that either contains a single non-zero control byte,