Re: man page for robust mutexes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Kerrisk
Date: Sunday, December 7, 2008 - 9:44 am

Sebastian,

Thanks for writing this page!

I will have more comments later, but a few quick comments now.  Could
you revise your page in the light of these comments?

On Mon, Dec 1, 2008 at 4:34 PM, Sebastian Andrzej Siewior
<sebastian@breakpoint.cc> wrote:

Please be careful here.  If there are any sentences taken from a
copyrighted source (the 3p pages are copyright by the IEEE), could you
please rewrite in your own words.


Could you take a look at man-pages(7) please -- that will clarify some
of my comments below.


You need to put this page under a free license.  Have a look here:
http://www.kernel.org/doc/man-pages/licenses.html
The "verbatim" license is the most widely used, and my preference for
new pages, but it's your choice.


s/P/3/

s/POSIX Programmer's Manual/Linux Programmer's Manual/


I prefer .nf/.fi blocks for the SYNOPIS, and then you can drop all of
the .br and .sp clutter.  See, for example, fcntl(2).


Please, rather make it .B for each of these lines, and .BI where you
need to mix with italic  See, for example, fcntl(2).


s/__USE_GNU/_GNU_SOURCE/

See feature_test_macros(7)


The convention used in most man-pages sources is

.BR func ()

Could you please swich all instances to that.


Preferred is:

.I attr

Could you please change all instances.


Please start new sentences on new source lines.  (See man-pages(7).)


Use ".I"


Use .B for constants


Use .B for constants


.LP is needed after .SH


Wrong function nam above.


"in an incinsistent state"?


s/__USE_GNU/_GNU_SOURCE/
and move to top of listing (see feature_test_macros(7).


s/-/\\-/ for each '-' in source code.


See previous comment.


I think it's better to have the explanation of the programs before the
listing.  Could you relocate it please.


Take a look, and you'll see that *no* pages in man-pages carry
copyright notices in the formatted output.  The copyright notice in
the page source suffices.


Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
man page for robust mutexes, Sebastian Andrzej Si ..., (Mon Dec 1, 2:34 pm)
Re: man page for robust mutexes, Michael Kerrisk, (Sun Dec 7, 9:44 am)
[PATCH v2] add man-page for pthread_mutexattr_setrobust_np(), Sebastian Andrzej Si ..., (Sun Dec 21, 1:59 pm)
Re: [PATCH v2] add man-page for pthread_mutexattr_setrobus ..., Sebastian Andrzej Si ..., (Mon Dec 22, 3:39 am)