linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Eric Blake <ebb9-PGZyUNKar/Q@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] * openpty.3: Use const as appropriate
Date: Sun, 13 Jun 2010 06:52:44 +0200	[thread overview]
Message-ID: <AANLkTimh2bnpxp9R2981Jw0xb27kYQSHsA8FuMPX4ilg@mail.gmail.com> (raw)
In-Reply-To: <1265403930-5005-1-git-send-email-ebb9-PGZyUNKar/Q@public.gmane.org>

Hi Eric,

On Fri, Feb 5, 2010 at 11:05 PM, Eric Blake <ebb9-PGZyUNKar/Q@public.gmane.org> wrote:
> Signed-off-by: Eric Blake <ebb9-PGZyUNKar/Q@public.gmane.org>
> ---
> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2010-06-13  4:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 21:05 [PATCH] * openpty.3: Use const as appropriate Eric Blake
     [not found] ` <1265403930-5005-1-git-send-email-ebb9-PGZyUNKar/Q@public.gmane.org>
2010-06-13  4:52   ` Michael Kerrisk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimh2bnpxp9R2981Jw0xb27kYQSHsA8FuMPX4ilg@mail.gmail.com \
    --to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
    --cc=ebb9-PGZyUNKar/Q@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).