diff options
| author | schwarze <> | 2019-05-16 13:35:16 +0000 |
|---|---|---|
| committer | schwarze <> | 2019-05-16 13:35:16 +0000 |
| commit | f619d192fa7597c09bd37706d01926d28932de57 (patch) | |
| tree | ee3d8ae2187ff7f0d5efb64053bda8791c07e84f /src/lib/libc/string/strsignal.3 | |
| parent | 11f7bebd341b40cf9c5ca1e5e3d175b1cff8a914 (diff) | |
| download | openbsd-f619d192fa7597c09bd37706d01926d28932de57.tar.gz openbsd-f619d192fa7597c09bd37706d01926d28932de57.tar.bz2 openbsd-f619d192fa7597c09bd37706d01926d28932de57.zip | |
More consistently put remarks about the less useful LC_* categoties,
i.e. those other than LC_CTYPE, into the CAVEATS section, and
standardize wording somewhat.
OK jmc@
Diffstat (limited to 'src/lib/libc/string/strsignal.3')
| -rw-r--r-- | src/lib/libc/string/strsignal.3 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libc/string/strsignal.3 b/src/lib/libc/string/strsignal.3 index 3261f699d8..b46be893b5 100644 --- a/src/lib/libc/string/strsignal.3 +++ b/src/lib/libc/string/strsignal.3 | |||
| @@ -29,9 +29,9 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: strsignal.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ | 32 | .\" $OpenBSD: strsignal.3,v 1.9 2019/05/16 13:35:16 schwarze Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: June 5 2013 $ | 34 | .Dd $Mdocdate: May 16 2019 $ |
| 35 | .Dt STRSIGNAL 3 | 35 | .Dt STRSIGNAL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -44,8 +44,8 @@ | |||
| 44 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
| 45 | The | 45 | The |
| 46 | .Fn strsignal | 46 | .Fn strsignal |
| 47 | function returns a pointer to the language-dependent string describing | 47 | function returns a pointer to the string describing the signal |
| 48 | a signal. | 48 | .Fa sig . |
| 49 | .Pp | 49 | .Pp |
| 50 | The array pointed to is not to be modified by the program, but may be | 50 | The array pointed to is not to be modified by the program, but may be |
| 51 | overwritten by subsequent calls to | 51 | overwritten by subsequent calls to |
| @@ -66,3 +66,13 @@ function first appeared in | |||
| 66 | .At V.4 | 66 | .At V.4 |
| 67 | and was reimplemented for | 67 | and was reimplemented for |
| 68 | .Nx 1.0 . | 68 | .Nx 1.0 . |
| 69 | .Sh CAVEATS | ||
| 70 | On systems other than | ||
| 71 | .Ox , | ||
| 72 | the | ||
| 73 | .Dv LC_MESSAGES | ||
| 74 | .Xr locale 1 | ||
| 75 | category can cause different strings to be returned instead of the | ||
| 76 | normal signal descriptions; see CAVEATS in | ||
| 77 | .Xr setlocale 3 | ||
| 78 | for details. | ||
