diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-07-17 22:43:18 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2025-03-30 12:31:37 +0200 |
| commit | a82917ada0509758ac6d717402858536af3a032d (patch) | |
| tree | ce8bc810a6c9f2f0ef5c7641392613d6b8a2ed0e /man/man3/getw.3 | |
| parent | c47826785d91e9cd8c2957d789e50a50e36833e0 (diff) | |
| download | man-pages-a82917ada0509758ac6d717402858536af3a032d.tar.gz | |
man/: srcfix (\fX => \f[X])
While doing this global change, fix other minor issues found nearby.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/getw.3')
| -rw-r--r-- | man/man3/getw.3 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/man/man3/getw.3 b/man/man3/getw.3 index 0a1a6c4a45..a21d9210b7 100644 --- a/man/man3/getw.3 +++ b/man/man3/getw.3 @@ -34,15 +34,23 @@ Feature Test Macro Requirements for glibc (see .fi .SH DESCRIPTION .BR getw () -reads a word (that is, an \fIint\fP) from \fIstream\fP. +reads a word (that is, an +.IR int ) +from +.IR stream . It's provided for compatibility with SVr4. We recommend you use .BR fread (3) instead. .P .BR putw () -writes the word \fIw\fP (that is, -an \fIint\fP) to \fIstream\fP. +writes the word +.I w +(that is, +an +.IR int ) +to +.IR stream . It is provided for compatibility with SVr4, but we recommend you use .BR fwrite (3) instead. @@ -52,7 +60,8 @@ Normally, returns the word read, and .BR putw () returns 0. -On error, they return \fBEOF\fP. +On error, they return +.BR EOF . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). |
