summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-16 13:35:18 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-05-16 13:35:18 +0000
commit1b68ae694a3627fa8c926fea31651ed2fafbd75e (patch)
treeee5423dc11c3f0aba3fd1cae657ee6975560ee6a /lib/libc/gen
parent3d0c792004dccce0a87f3c922e4c515acfc40b7b (diff)
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 'lib/libc/gen')
-rw-r--r--lib/libc/gen/err.316
-rw-r--r--lib/libc/gen/glob.313
-rw-r--r--lib/libc/gen/psignal.314
3 files changed, 37 insertions, 6 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3
index a9635b0c257..1add656944c 100644
--- a/lib/libc/gen/err.3
+++ b/lib/libc/gen/err.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: err.3,v 1.20 2014/04/23 16:26:33 jmc Exp $
+.\" $OpenBSD: err.3,v 1.21 2019/05/16 13:35:16 schwarze Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 23 2014 $
+.Dd $Mdocdate: May 16 2019 $
.Dt ERR 3
.Os
.Sh NAME
@@ -233,3 +233,15 @@ Always be sure to use the proper secure idiom:
.Bd -literal -offset indent
err(1, "%s", string);
.Ed
+.Pp
+On systems other than
+.Ox ,
+the
+.Dv LC_MESSAGES
+.Xr locale 1
+category can cause different strings to be printed instead of the
+normal
+.Xr errno 2
+messages; see CAVEATS in
+.Xr setlocale 3
+for details.
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 0d3aaed8835..69166a831bc 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: glob.3,v 1.36 2019/02/04 16:45:40 millert Exp $
+.\" $OpenBSD: glob.3,v 1.37 2019/05/16 13:35:16 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 4 2019 $
+.Dd $Mdocdate: May 16 2019 $
.Dt GLOB 3
.Os
.Sh NAME
@@ -478,6 +478,15 @@ and
.Fn globfree
functions first appeared in
.Bx 4.4 .
+.Sh CAVEATS
+On systems other than
+.Ox ,
+the
+.Dv LC_COLLATE
+.Xr locale 1
+category can affect the sort order; see CAVEATS in
+.Xr setlocale 3
+for details.
.Sh BUGS
Patterns longer than
.Dv PATH_MAX
diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3
index 24972b156cd..3fd2ebbf7bf 100644
--- a/lib/libc/gen/psignal.3
+++ b/lib/libc/gen/psignal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: psignal.3,v 1.13 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: psignal.3,v 1.14 2019/05/16 13:35:16 schwarze Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: May 16 2019 $
.Dt PSIGNAL 3
.Os
.Sh NAME
@@ -87,3 +87,13 @@ The
.Fn psignal
function appeared in
.Bx 4.2 .
+.Sh CAVEATS
+On systems other than
+.Ox ,
+the
+.Dv LC_MESSAGES
+.Xr locale 1
+category can cause different strings to be printed instead of the
+normal signal descriptions; see CAVEATS in
+.Xr setlocale 3
+for details.