summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2005-02-27 16:30:16 +0000
committerphantom <phantom@FreeBSD.org>2005-02-27 16:30:16 +0000
commitffdbc9bc05f53cb83cf79d1d48c3b51779e787bc (patch)
treee582ea288f20e7994c845978b2d0513e60514d81 /lib/libc
parentdb7bc61c50a6090bfd3c674fa7500228355b2479 (diff)
downloadFreeBSD-src-ffdbc9bc05f53cb83cf79d1d48c3b51779e787bc.zip
FreeBSD-src-ffdbc9bc05f53cb83cf79d1d48c3b51779e787bc.tar.gz
. Bump .Dd's
. Note POSIX 1003.1-2001 conformation . Add ERRORS section for catgets(3) . Note what catopen(3) returns EINVAL, if catalog is corrupt
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/nls/catclose.34
-rw-r--r--lib/libc/nls/catgets.317
-rw-r--r--lib/libc/nls/catopen.36
3 files changed, 20 insertions, 7 deletions
diff --git a/lib/libc/nls/catclose.3 b/lib/libc/nls/catclose.3
index 733face..ed0f639 100644
--- a/lib/libc/nls/catclose.3
+++ b/lib/libc/nls/catclose.3
@@ -27,7 +27,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd May 29, 1994
+.Dd February 12, 2005
.Dt CATCLOSE 3
.Os
.Sh NAME
@@ -61,4 +61,4 @@ argument.
The
.Fn catclose
function conforms to
-.St -xpg4 .
+.St -p1003.1-2001 .
diff --git a/lib/libc/nls/catgets.3 b/lib/libc/nls/catgets.3
index 592f57c..fe78211 100644
--- a/lib/libc/nls/catgets.3
+++ b/lib/libc/nls/catgets.3
@@ -27,7 +27,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd May 29, 1994
+.Dd February 12, 2005
.Dt CATGETS 3
.Os
.Sh NAME
@@ -58,6 +58,19 @@ If the specified message was retrieved successfully,
returns a pointer to an internal buffer containing the message string;
otherwise it returns
.Fa s .
+.Sh ERRORS
+.Bl -tag -width Er
+.It Bq Er EBADF
+The
+.Fa catd
+argument is not valid message catalog descriptor.
+.It Bq Er EBADMSG
+The message identified by
+.Fa set_id
+and
+.Fa msg_id
+is not in the message catalog.
+.El
.Sh SEE ALSO
.Xr gencat 1 ,
.Xr catclose 3 ,
@@ -66,4 +79,4 @@ otherwise it returns
The
.Fn catgets
function conforms to
-.St -xpg4 .
+.St -p1003.1-2001 .
diff --git a/lib/libc/nls/catopen.3 b/lib/libc/nls/catopen.3
index 9fd8b82..7a16ee5 100644
--- a/lib/libc/nls/catopen.3
+++ b/lib/libc/nls/catopen.3
@@ -27,7 +27,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd May 29, 1994
+.Dd February 12, 2005
.Dt CATOPEN 3
.Os
.Sh NAME
@@ -135,7 +135,7 @@ is set to indicate the error.
.It Bq Er EINVAL
Argument
.Fa name
-does not point to a valid message catalog.
+does not point to a valid message catalog, or catalog is corrupt.
.It Bq Er ENAMETOOLONG
An entire path to the message catalog exceeded 1024 characters.
.It Bq Er ENOENT
@@ -154,4 +154,4 @@ Insufficient memory is available.
The
.Fn catopen
function conforms to
-.St -xpg4 .
+.St -p1003.1-2001 .
OpenPOWER on IntegriCloud