From 5b65eaf185fdd1966b34531fb8f68cfcaa76ef76 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Mon, 13 Sep 2010 16:31:17 +0800 Subject: [PATCH] man-pages.7: Add description of "ATTRIBUTES" "ATTRIBUTES" section gives the information of thread-safety. Signed-off-by: Peng Haitao --- man7/man-pages.7 | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/man7/man-pages.7 b/man7/man-pages.7 index 261e556..59004d6 100644 --- a/man7/man-pages.7 +++ b/man7/man-pages.7 @@ -25,7 +25,7 @@ .\" 2007-05-30 created by mtk, using text from old man.7 plus .\" rewrites and additional text. .\" -.TH MAN-PAGES 7 2008-10-28 "Linux" "Linux Programmer's Manual" +.TH MAN-PAGES 7 2010-09-13 "Linux" "Linux Programmer's Manual" .SH NAME man-pages \- conventions for writing Linux man pages .SH SYNOPSIS @@ -181,6 +181,7 @@ ERRORS [Typically only in Sections 2, 3] ENVIRONMENT FILES VERSIONS [Normally only in Sections 2, 3] +ATTRIBUTES [Normally only in Sections 2, 3] CONFORMING TO NOTES BUGS @@ -338,6 +339,21 @@ The manual page also provides information about kernel versions in which various system calls first appeared. .TP +.B ATTRIBUTES +For Section 2 and 3 manual pages, this section gives a +number of attributes, e.g., +.RS +.TS +allbox; +c. +thread-safety +reentrant/non-reentrant +async-signal-safety +cancelation safety +.TE +.RE +.TP +.sp .B CONFORMING TO describes any standards or conventions that relate to the function or command described by the manual page. -- 1.6.0.1