summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-08-03 16:26:47 +0000
committerache <ache@FreeBSD.org>2002-08-03 16:26:47 +0000
commitb5b73d0ae10b5dad678454b62d95f79f8903273b (patch)
treefe7009ec0905ec9cd234689957c6f7c0645a1f44 /lib
parentba55503fcc9127daf4ff5f3448c757281deb0e4c (diff)
downloadFreeBSD-src-b5b73d0ae10b5dad678454b62d95f79f8903273b.zip
FreeBSD-src-b5b73d0ae10b5dad678454b62d95f79f8903273b.tar.gz
Fix return codes to match what setrunelocale() returns
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/rune.37
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3
index 7c83ebc..7c37c40 100644
--- a/lib/libc/locale/rune.3
+++ b/lib/libc/locale/rune.3
@@ -217,16 +217,13 @@ function returns one of the following values:
.It Er 0
.Fn setrunelocale
was successful.
-.It Bq Er EFAULT
+.It Bq Er EINVAL
.Fa locale
-was
-.Dv NULL .
+name was incorrect.
.It Bq Er ENOENT
The locale could not be found.
.It Bq Er EFTYPE
The file found was not a valid file.
-.It Bq Er EINVAL
-The encoding indicated by the locale was unknown.
.El
.Pp
The
OpenPOWER on IntegriCloud