SEE ALSO: func based or man page based?
i often remember the func name "sigprocmask". but when i'm in that page, i have a hard time remembering the exact naming for the set operators. rather than search, i figure just checking out the SEE ALSO section will quickly answer me ... except it doesn't (directly).
this is what sigprocmask(2) has:
SEE ALSO
kill(2), pause(2), sigaction(2), signal(2), sigpending(2),
sigsuspend(2), pthread_sigmask(3), sigqueue(3), sigsetops(3),
signal(7)i read that a few times and then just start picking signal related pages until i stumble across sigsetops(3).
is there a policy against listing the functions that appear in a grouped page ? or would it be ok to add the funcs in the sigsetops page directly to sigprocmask's SEE ALSO ? grepping shows that at least select_tut(2) is out of sync ...
-mike
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Mike,
Quoted 11 lines · Mike Frysinger
i often remember the func name "sigprocmask". but when i'm in that page, i have a hard time remembering the exact naming for the set operators. rather than search, i figure just checking out the SEE ALSO section will quickly answer me ... except it doesn't (directly).
this is what sigprocmask(2) has:
SEE ALSOkill(2), pause(2), sigaction(2), signal(2), sigpending(2), sigsuspend(2), pthread_sigmask(3), sigqueue(3), sigsetops(3), signal(7)
Quoted 5 lines
i read that a few times and then just start picking signal related pages until i stumble across sigsetops(3).
is there a policy against listing the functions that appear in a grouped page ?
There is no general policy. But obviously the man page should make this point obvious. (Other similar pages, such as sched_setaffinity(2) do make it obvious.) I added the following text:
A set of functions for modifying and inspecting variables of type sigset_t ("signal sets") is described in sigsetops(3).
Quoted 2 lines
or would it be ok to add the funcs in the sigsetops page directly to sigprocmask's SEE ALSO ?
I'm not sure that that's necessary. There are only a few pages like this, and I think it's better to have sentences like the above.
Quoted 2 lines
grepping shows that at
leastselect_tut(2)is out of sync ...
I'm not sure what you mean here. Can you elaborate please?
Thanks,
Michael
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 2 lines · Mike Frysinger
grepping shows that at
leastselect_tut(2)is out of sync ...I'm not sure what you mean here. Can you elaborate please?
select_tut lists all the sigop funcs by name and does not list the sigops manpage. conversely, sigprocmask doesn't list any sigop of the funcs by name and only lists the sigops manpage. -mike
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Mike Frysinger
Quoted 5 lines · Michael Kerrisk (man-pages)
Quoted 2 lines · Mike Frysinger
grepping shows that at
leastselect_tut(2)is out of sync ...I'm not sure what you mean here. Can you elaborate please?
select_tutlists all the sigop funcs by name and does not list the sigops manpage. conversely, sigprocmask doesn't list any sigop of the funcs by name and only lists the sigops manpage.
That's just one of the minor problems with that page :-). It's irritating that the page duplicates so much info from select(2). One day I'll get irritated enough to merge the two or seriously trim select_tut(2).
Cheers,
Michael
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html