Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposal: new libc/libutil functions to map SIGXXXX <-> "XXXX"



In article <26015.1493391333%andromeda.noi.kre.to@localhost>,
Robert Elz  <kre%munnari.OZ.AU@localhost> wrote:
>
>No, none of those, people who want that kind of output waht strsignal()
>instead.   The return value is just something like "EMT" or "HUP", the
>only reasonable return value for an error here is "nothing" (ie: NULL).

Fine, return NULL for no signal number / and -1 for no such signal name.

>Now the next question is just what goes in the man page, for that __pure
>stuff, and if it goes there, how to produce that using -mdoc

I would just leave __pure out of the man page for now.

christos



Home | Main Index | Thread Index | Old Index