Hi Eric, On Fri, Feb 5, 2010 at 11:05 PM, Eric Blake <ebb9@xxxxxxx> wrote: > Signed-off-by: Eric Blake <ebb9@xxxxxxx> > --- > Make the openpty/forkpty man page match /usr/include/pty.h as > included in glibc 2.11.1. Thanks. Applied for man-pages-3.25, along with some added text that "const" was added in glibc 2.8. Thanks Michael > man3/openpty.3 | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/man3/openpty.3 b/man3/openpty.3 > index e033af0..a36352b 100644 > --- a/man3/openpty.3 > +++ b/man3/openpty.3 > @@ -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 > -- > 1.6.6 > > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html