From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe
Date: Sat, 04 Apr 2015 09:01:31 +0100 [thread overview]
Message-ID: <551F9A5B.6040100@gmail.com> (raw)
In-Reply-To: <1427271273-8602-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
On 03/25/2015 08:14 AM, Zeng Linggang wrote:
> The markings match glibc markings.
Hello Zeng Linggang,
Thanks. Patch applied.
Cheers,
Michael
> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
> man3/unlocked_stdio.3 | 41 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
> index d5aada7..24bd179 100644
> --- a/man3/unlocked_stdio.3
> +++ b/man3/unlocked_stdio.3
> @@ -110,6 +110,47 @@ without the "_unlocked" suffix, except that they do not use locking
> of locks set by others) and hence are thread-unsafe.
> See
> .BR flockfile (3).
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lbw20 lb lb
> +l l l.
> +Interface Attribute Value
> +T{
> +.BR getc_unlocked (),
> +.BR putc_unlocked (),
> +.BR clearerr_unlocked (),
> +.BR fflush_unlocked (),
> +.BR fgetc_unlocked (),
> +.BR fputc_unlocked (),
> +.BR fread_unlocked (),
> +.BR fwrite_unlocked (),
> +.BR fgets_unlocked (),
> +.BR fputs_unlocked (),
> +.BR getwc_unlocked (),
> +.BR fgetwc_unlocked (),
> +.BR fputwc_unlocked (),
> +.BR putwc_unlocked (),
> +.BR fgetws_unlocked (),
> +.BR fputws_unlocked ()
> +T} Thread safety MT-Safe race:stream
> +T{
> +.BR getchar_unlocked (),
> +.BR getwchar_unlocked ()
> +T} Thread safety MT-Unsafe race:stdin
> +T{
> +.BR putchar_unlocked (),
> +.BR putwchar_unlocked ()
> +T} Thread safety MT-Unsafe race:stdout
> +T{
> +.BR feof_unlocked (),
> +.BR ferror_unlocked (),
> +.BR fileno_unlocked ()
> +T} Thread safety MT-Safe
> +.TE
> +
> .SH CONFORMING TO
> The four functions
> .BR getc_unlocked (),
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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
next prev parent reply other threads:[~2015-04-04 8:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-25 8:14 [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
[not found] ` <1427271273-8602-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-03-25 8:14 ` [PATCH] get_nprocs_conf.3: " Zeng Linggang
[not found] ` <1427271273-8602-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 7:59 ` Michael Kerrisk (man-pages)
2015-03-25 8:14 ` [PATCH] mbsnrtowcs.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
[not found] ` <1427271273-8602-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:00 ` Michael Kerrisk (man-pages)
2015-03-25 8:14 ` [PATCH] mbsrtowcs.3: " Zeng Linggang
[not found] ` <1427271273-8602-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:00 ` Michael Kerrisk (man-pages)
2015-03-25 8:14 ` [PATCH] unlocked_stdio.3: ATTRIBUTES: Note functions thoes aren't thread-safe Zeng Linggang
[not found] ` <1427271273-8602-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:01 ` Michael Kerrisk (man-pages) [this message]
2015-03-25 8:14 ` [PATCH] wcrtomb.3: ATTRIBUTES: Note function that is thread safe with exceptions Zeng Linggang
[not found] ` <1427271273-8602-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:02 ` Michael Kerrisk (man-pages)
2015-03-25 8:14 ` [PATCH] wcsnrtombs.3: " Zeng Linggang
[not found] ` <1427271273-8602-7-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:06 ` Michael Kerrisk (man-pages)
2015-03-25 8:14 ` [PATCH] wcsrtombs.3: " Zeng Linggang
[not found] ` <1427271273-8602-8-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04 8:07 ` Michael Kerrisk (man-pages)
2015-04-04 7:59 ` [PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe Michael Kerrisk (man-pages)
2015-04-08 3:05 ` Zeng Linggang
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=551F9A5B.6040100@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@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).