Re: [PATCH] psiginfo.3, psignal.3: Document psiginfo()

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

 



Hi Guillem,

I also added some details for psiginfo().

thanks,

Michael


--- a/man3/psignal.3
+++ b/man3/psignal.3
@@ -70,6 +70,17 @@ except that it displays information about the
signal described by
 which should point to a valid
 .I siginfo_t
 structure.
+As well as the signal description,
+.BR psiginfo ()
+displays information about the origin of the signal,
+and other information relevant to the signal
+(e.g., the relevant memory address for hardware-generated signals,
+the child process ID for
+.BR SIGCHLD ,
+and the user ID and process ID of the sender, for signals set using
+.BR kill (2)
+or
+.BR sigqueue (2)).

 The array \fIsys_siglist\fP holds the signal description strings
 indexed by signal number.
@@ -79,8 +90,22 @@ The
 and
 .BR psiginfo ()
 functions return no value.
+.SH VERSIONS
+The
+.BR psiginfo()
+function was added to glibc in version 2.10.
 .SH "CONFORMING TO"
 POSIX.1-2008, 4.3BSD.
+.SH BUGS
+As at glibc 2.12,
+.BR psiginfo ()
+has the following bugs:
+.IP * 3
+In some circumstances, a trailing newline is not printed.
+.\" FIXME http://sourceware.org/bugzilla/show_bug.cgi?id=12107
+.IP *
+Additional details for are not displayed for realtime signals.
+.\" FIXME http://sourceware.org/bugzilla/show_bug.cgi?id=12108
 .SH "SEE ALSO"
 .BR sigaction (2),
 .BR perror (3),

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux