diff options
-rw-r--r-- | lib/libc/nls/catclose.3 | 4 | ||||
-rw-r--r-- | lib/libc/nls/catgets.3 | 17 | ||||
-rw-r--r-- | lib/libc/nls/catopen.3 | 6 |
3 files changed, 20 insertions, 7 deletions
diff --git a/lib/libc/nls/catclose.3 b/lib/libc/nls/catclose.3 index 733face81fc6..ed0f639d2393 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 592f57cca28a..fe78211188d2 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 9fd8b826f9f4..7a16ee50408a 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 . |