diff options
author | ache <ache@FreeBSD.org> | 2002-08-03 16:26:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-08-03 16:26:47 +0000 |
commit | b5b73d0ae10b5dad678454b62d95f79f8903273b (patch) | |
tree | fe7009ec0905ec9cd234689957c6f7c0645a1f44 | |
parent | ba55503fcc9127daf4ff5f3448c757281deb0e4c (diff) | |
download | FreeBSD-src-b5b73d0ae10b5dad678454b62d95f79f8903273b.zip FreeBSD-src-b5b73d0ae10b5dad678454b62d95f79f8903273b.tar.gz |
Fix return codes to match what setrunelocale() returns
-rw-r--r-- | lib/libc/locale/rune.3 | 7 |
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 |