aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-04-11 18:03:39 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-04-14 20:18:14 +0100
commitaead9ac9bfa4bf8fc9b9d1d2ffa3a6d573fa760e (patch)
treebe59bf5e1e53896dbc6bef68adc4bb250b9b37b6
parentb4b1c3e7d0aa0311b6756176cf3a11c885854963 (diff)
downloadman-pages-aead9ac9bfa4bf8fc9b9d1d2ffa3a6d573fa760e.tar.gz
read.2: Clarify that 'size_t' and 'ssize_t' are integer types specified in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/read.27
1 files changed, 7 insertions, 0 deletions
diff --git a/man2/read.2 b/man2/read.2
index 4508941dc8..bb46ae2918 100644
--- a/man2/read.2
+++ b/man2/read.2
@@ -180,6 +180,13 @@ or to return the number of bytes already read.
.SH CONFORMING TO
SVr4, 4.3BSD, POSIX.1-2001.
.SH NOTES
+The types
+.I size_t
+and
+.I ssize_t
+are, respectively,
+unsigned and signed integer data types specified by POSIX.1.
+
On Linux,
.BR read ()
(and similar system calls) will transfer at most