diff options
| author | Alejandro Colomar <alx@kernel.org> | 2025-03-14 18:33:41 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-03-14 18:55:19 +0100 |
| commit | d2c2db8830f8fcbb736bdea52b398257447bef6b (patch) | |
| tree | 13a38ceaeaa6bc257994d91027d42ca187fd2c21 /man/man2/getxattr.2 | |
| parent | 44930b7b8eacbfff12acd1dcfbb66dd818e35254 (diff) | |
| download | man-pages-d2c2db8830f8fcbb736bdea52b398257447bef6b.tar.gz | |
man/: SYNOPSIS: Use GNU forward-declarations of parameters for sizes of array parameters
This syntax has been proposed for standardization in N3433.
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3433.pdf>
Cc: Christopher Bazley <chris.bazley.wg14@gmail.com>
Cc: Martin Uecker <uecker@tugraz.at>
Cc: Joseph Myers <josmyers@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man2/getxattr.2')
| -rw-r--r-- | man/man2/getxattr.2 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/man/man2/getxattr.2 b/man/man2/getxattr.2 index f6f8c996bf..fd04ae3572 100644 --- a/man/man2/getxattr.2 +++ b/man/man2/getxattr.2 @@ -13,12 +13,15 @@ Standard C library .nf .B #include <sys/xattr.h> .P -.BI "ssize_t getxattr(const char *" path ", const char *" name , -.BI " void " value [. size "], size_t " size ); -.BI "ssize_t lgetxattr(const char *" path ", const char *" name , -.BI " void " value [. size "], size_t " size ); -.BI "ssize_t fgetxattr(int " fd ", const char *" name , -.BI " void " value [. size "], size_t " size ); +.BI "ssize_t getxattr(size_t " size ; +.BI " const char *" path ", const char *" name , +.BI " void " value [ size "], size_t " size ); +.BI "ssize_t lgetxattr(size_t " size ; +.BI " const char *" path ", const char *" name , +.BI " void " value [ size "], size_t " size ); +.BI "ssize_t fgetxattr(size_t " size ; +.BI " int " fd ", const char *" name , +.BI " void " value [ size "], size_t " size ); .fi .SH DESCRIPTION Extended attributes are |
