mirror of https://github.com/mkerrisk/man-pages
openpty.3: Use const as appropriate
Signed-off-by: Eric Blake <ebb9@byu.net> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
70bf963fb5
commit
671c2ab44b
|
@ -29,7 +29,7 @@
|
|||
.\"
|
||||
.\" Added -lutil remark, 030718
|
||||
.\"
|
||||
.TH OPENPTY 3 2003-07-18 "GNU" "Linux Programmer's Manual"
|
||||
.TH OPENPTY 3 2010-02-05 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
openpty, login_tty, forkpty \- tty utility functions
|
||||
.SH SYNOPSIS
|
||||
|
@ -37,10 +37,12 @@ openpty, login_tty, forkpty \- tty utility functions
|
|||
.B #include <pty.h>
|
||||
.sp
|
||||
.BI "int openpty(int *" amaster ", int *" aslave ", char *" name ,
|
||||
.BI " struct termios *" termp ", struct winsize *" winp );
|
||||
.BI " const struct termios *" termp ,
|
||||
.BI " const struct winsize *" winp );
|
||||
.sp
|
||||
.BI "pid_t forkpty(int *" amaster ", char *" name ", struct termios *" termp ,
|
||||
.BI " struct winsize *" winp );
|
||||
.BI "pid_t forkpty(int *" amaster ", char *" name ,
|
||||
.BI " const struct termios *" termp ,
|
||||
.BI " const struct winsize *" winp );
|
||||
.sp
|
||||
.B #include <utmp.h>
|
||||
.sp
|
||||
|
|
Loading…
Reference in New Issue