lpr: add more accurate comments
*: trailing whitespace removal
This commit is contained in:
parent
39c77c3738
commit
42cc304e90
10 changed files with 35 additions and 28 deletions
|
@ -168,7 +168,7 @@ int script_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
|||
/* child: make pty slave to be input, output, error; run shell */
|
||||
close(pty); /* close pty master */
|
||||
/* open pty slave to fd 0,1,2 */
|
||||
close(0);
|
||||
close(0);
|
||||
xopen(pty_line, O_RDWR); /* uses fd 0 */
|
||||
xdup2(0, 1);
|
||||
xdup2(0, 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue