Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3c/psignal.3c.man.txt
+++ new/usr/src/man/man3c/psignal.3c.man.txt
1 1 PSIGNAL(3C) Standard C Library Functions PSIGNAL(3C)
2 2
3 3
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
4 4
5 5 NAME
6 6 psignal, psiginfo - system signal messages
7 7
8 8 SYNOPSIS
9 9 #include <siginfo.h>
10 10
11 11 void psignal(int sig, const char *s);
12 12
13 13
14 - void psiginfo(siginfo_t *pinfo, char *s);
14 + void psiginfo(const siginfo_t *pinfo, const char *s);
15 15
16 16
17 17 DESCRIPTION
18 18 The psignal() and psiginfo() functions produce messages on the standard
19 19 error output describing a signal. The sig argument is a signal that
20 20 may have been passed as the first argument to a signal handler. The
21 21 pinfo argument is a pointer to a siginfo structure that may have been
22 22 passed as the second argument to an enhanced signal handler. See
23 23 sigaction(2). The argument string s is printed first, followed by a
24 24 colon and a blank, followed by the message and a NEWLINE character.
25 25
26 26 USAGE
27 27 Messages printed from these functions are in the native language
28 28 specified by the LC_MESSAGES locale category. See setlocale(3C).
29 29
30 30 ATTRIBUTES
31 31 See attributes(5) for descriptions of the following attributes:
32 32
33 33
34 34
35 35
36 36 +---------------+-----------------+
37 37 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
38 38 +---------------+-----------------+
39 39 |MT-Level | Safe |
40 40 +---------------+-----------------+
41 41
42 42 SEE ALSO
43 43 sigaction(2), gettext(3C), perror(3C), setlocale(3C), siginfo.h(3HEAD),
44 44 signal.h(3HEAD), attributes(5)
45 45
46 46
47 47
48 48 March 31, 2005 PSIGNAL(3C)
↓ open down ↓ |
24 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX