diff options
| author | Alejandro Colomar <alx@kernel.org> | 2024-11-17 18:47:53 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-11-17 21:51:23 +0100 |
| commit | 18e7c4597c4e72fa5210c7887273e363c456c9ee (patch) | |
| tree | 97cfd22e731a4c859ae71783d70943ff72e6cb60 /man/man4 | |
| parent | 8fc6fdd8291d906e58a175b5e1b20da680aaeb4a (diff) | |
| download | man-pages-18e7c4597c4e.tar.gz | |
man/: Terminology consistency reforms (n, size, length)
Use 'length' for the lenght of a string.
Use 'n' for the number of elements.
Use 'size' for the number of bytes. (And in wide-character string
functions, 'size' also refers to the number of wide characters.)
The change is quite large, and I might have made some mistakes.
But overall, this should improve consistency in use of these terms.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man4')
| -rw-r--r-- | man/man4/fuse.4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man4/fuse.4 b/man/man4/fuse.4 index 9ea28af2df..cf214d5b49 100644 --- a/man/man4/fuse.4 +++ b/man/man4/fuse.4 @@ -42,7 +42,7 @@ the following structure: .in +4n .EX struct fuse_in_header { - uint32_t len; /* Total length of the data, + uint32_t len; /* Total size of the data, including this header */ uint32_t opcode; /* The kind of operation (see below) */ uint64_t unique; /* A unique identifier for this request */ @@ -56,7 +56,7 @@ struct fuse_in_header { .EE .in .P -The header is followed by a variable-length data portion +The header is followed by a variable-size data portion (which may be empty) specific to the requested operation (the requested operation is indicated by .IR opcode ). @@ -71,7 +71,7 @@ All replies must start with the following header: .in +4n .EX struct fuse_out_header { - uint32_t len; /* Total length of data written to + uint32_t len; /* Total size of data written to the file descriptor */ int32_t error; /* Any error that occurred (0 if none) */ uint64_t unique; /* The value from the |
