1 .\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org>
2 .\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
7 .TH size_t 3type (date) "Linux man-pages (unreleased)"
9 size_t, ssize_t \- count of bytes
15 .B #include <stddef.h>
17 .BR typedef " /* ... */ " size_t;
19 .B #include <sys/types.h>
21 .BR typedef " /* ... */ " ssize_t;
26 Used for a count of bytes.
27 It is the result of the
30 It is an unsigned integer type
31 capable of storing values in the range
36 Used for a count of bytes or an error indication.
37 It is a signed integer type
38 capable of storing values at least in the range
41 .SS Use with printf(3) and scanf(3)
44 The length modifier for
50 families of functions is
61 glibc and most other implementations provide a length modifier for
67 families of functions,
81 on most implementations,
82 portable POSIX programs should avoid using it\[em]for example,
83 by converting the value to
85 and using its length modifier
126 The following headers also provide
157 The following headers also provide
181 .BR ptrdiff_t (3type)