linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] termios.3: Modify thread-safety information
@ 2015-01-21  7:40 Ma Shimiao
       [not found] ` <1421826012-12616-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ma Shimiao @ 2015-01-21  7:40 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Ma Shimiao

As annotation in glibc manual is more detailed, change the 
thread-safety information to be the same as glibc manual.

Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/termios.3 | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/man3/termios.3 b/man3/termios.3
index 371bdf7..8eb04be 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -979,15 +979,14 @@ For an explanation of the terms used in this section, see
 .TS
 allbox;
 lb lb lb
-lw37 l l.
+l l l.
 Interface	Attribute	Value
 T{
 .BR tcgetattr (),
 .BR tcsetattr (),
-.BR tcsendbreak (),
 .BR tcdrain (),
+.br
 .BR tcflush (),
-.BR tcflow (),
 .BR cfmakeraw (),
 .BR cfgetispeed (),
 .BR cfgetospeed (),
@@ -995,6 +994,10 @@ T{
 .BR cfsetospeed (),
 .BR cfsetspeed ()
 T}	Thread safety	MT-Safe
+T{
+.BR tcsendbreak (),
+.BR tcflow ()
+T}	Thread safety	MT-Unsafe race:tcattr(filedes)/bsd
 .TE
 .ad
 .hy
-- 
1.8.3.1

--
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

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] termios.3: Modify thread-safety information
@ 2015-01-21  9:07 Ma Shimiao
       [not found] ` <1421831254-23376-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ma Shimiao @ 2015-01-21  9:07 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Ma Shimiao

As this is man page for Linux, we don't need thread safety information
for bsd

Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/termios.3 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/man3/termios.3 b/man3/termios.3
index 8eb04be..314218f 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -984,9 +984,12 @@ Interface	Attribute	Value
 T{
 .BR tcgetattr (),
 .BR tcsetattr (),
+.BR tcsendbreak (),
 .BR tcdrain (),
 .br
 .BR tcflush (),
+.br
+.BR tcflow (),
 .BR cfmakeraw (),
 .BR cfgetispeed (),
 .BR cfgetospeed (),
@@ -994,10 +997,6 @@ T{
 .BR cfsetospeed (),
 .BR cfsetspeed ()
 T}	Thread safety	MT-Safe
-T{
-.BR tcsendbreak (),
-.BR tcflow ()
-T}	Thread safety	MT-Unsafe race:tcattr(filedes)/bsd
 .TE
 .ad
 .hy
-- 
1.8.3.1

--
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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-21 10:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21  7:40 [PATCH] termios.3: Modify thread-safety information Ma Shimiao
     [not found] ` <1421826012-12616-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-01-21  8:03   ` Michael Kerrisk (man-pages)
     [not found]     ` <54BF5D5E.7010908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-21  8:17       ` Ma Shimiao
     [not found]         ` <54BF6083.7090302-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-01-21  8:40           ` Michael Kerrisk (man-pages)
     [not found]             ` <CAKgNAki9Vc4Pkb_ac0MnzUZ6=p=1P3QgH7ELU2OZpZGG3ACWiQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-21  8:57               ` Ma Shimiao
  -- strict thread matches above, loose matches on Subject: below --
2015-01-21  9:07 Ma Shimiao
     [not found] ` <1421831254-23376-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-01-21 10:35   ` Michael Kerrisk (man-pages)

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).