diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2008-08-28 00:28:29 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2008-08-28 00:28:29 +0000 |
| commit | 1cbf67349c9737e2e2f213419ce1f382f15edd1e (patch) | |
| tree | 102ff73d4129f8208b65dbdc7a4d96b24f545597 /lib/libc | |
| parent | 73703350d2584c449d05e2d7de625842a52f7c8a (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/extattr_get_file.2 | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2 index e55d94d638ead..751ff0a7752eb 100644 --- a/lib/libc/sys/extattr_get_file.2 +++ b/lib/libc/sys/extattr_get_file.2 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 23, 2005 +.Dd January 29, 2008 .Dt EXTATTR 2 .Os .Sh NAME @@ -121,6 +121,8 @@ is .Dv NULL in a call to .Fn extattr_get_file +and +.Fn extattr_list_file then the size of defined extended attribute data will be returned, rather than the quantity read, permitting applications to test the size of the data without performing a read. @@ -135,8 +137,9 @@ they do not follow symlinks. The .Fn extattr_get_fd , .Fn extattr_set_fd , +.Fn extattr_delete_fd , and -.Fn extattr_delete_fd +.Fn extattr_list_fd , calls are identical to their .Qq Li _file counterparts except for the first argument. @@ -171,9 +174,10 @@ change as applications are adapted to use it. Developers are discouraged from relying on its stability. .Sh RETURN VALUES If successful, the -.Fn extattr_get_file +.Fn extattr_get_file , +.Fn extattr_set_file , and -.Fn extattr_set_file +.Fn extattr_list_file calls return the number of bytes that were read or written from the .Fa data , @@ -183,7 +187,9 @@ was .Dv NULL , then .Fn extattr_get_file -returns the number of bytes available to read. +and +.Fn extattr_list_file +return the number of bytes available to read. If any of the calls are unsuccessful, the value \-1 is returned and the global variable .Va errno @@ -214,8 +220,9 @@ The attribute name was longer than The .Fn extattr_get_fd , .Fn extattr_set_fd , +.Fn extattr_delete_fd , and -.Fn extattr_delete_fd +.Fn extattr_list_fd system calls may also fail if: .Bl -tag -width Er .It Bq Er EBADF |
