From 22109f70bf012e62a4502107cc02983cb702377f Mon Sep 17 00:00:00 2001
From: dd
Date: Mon, 25 Jun 2001 01:25:01 +0000
Subject: Add RETURN VALUES and ERRORS sections.
---
lib/libc/posix1e/extattr.3 | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
(limited to 'lib/libc/posix1e')
diff --git a/lib/libc/posix1e/extattr.3 b/lib/libc/posix1e/extattr.3
index b1f239c..fd9e18f 100644
--- a/lib/libc/posix1e/extattr.3
+++ b/lib/libc/posix1e/extattr.3
@@ -76,9 +76,18 @@ instead of requiring a user to enter the integer representing a namespace,
an interactive program might ask for a name and use
.Fn extattr_string_to_namespace
to get the desired identifier.
+.Sh RETURN VALUES
+If any of the calls are unsuccessful, the value \-1 is returned
+and the global variable
+.Va errno
+is set to indicate the error.
+.Sh ERRORS
+.Bl -tag -width Er
+.It Bq Er EINVAL
+The requested namespace could not be identified.
+.El
.Sh SEE ALSO
-.Xr extattr_get_file 2 ,
-.Xr extattr_set_file 2 ,
+.Xr extattr 2 ,
.Xr getextattr 8 ,
.Xr setextattr 8 ,
.Xr extattr 9
--
cgit v1.1