diff options
author | mike <mike@FreeBSD.org> | 2002-09-15 20:12:20 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-09-15 20:12:20 +0000 |
commit | 405d11ce8683914bfc71d9135d99dc40fd34295d (patch) | |
tree | e7c796c5c08642d9fa8667d94756d0becb77f138 /share | |
parent | 79868e3c348f5e51d81cec83b77d7b0f0ab5ba56 (diff) | |
download | FreeBSD-src-405d11ce8683914bfc71d9135d99dc40fd34295d.zip FreeBSD-src-405d11ce8683914bfc71d9135d99dc40fd34295d.tar.gz |
Document intptr_t and uintptr_t.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man7/stdint.7 | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/share/man/man7/stdint.7 b/share/man/man7/stdint.7 index b58775fd3..d05090a 100644 --- a/share/man/man7/stdint.7 +++ b/share/man/man7/stdint.7 @@ -24,12 +24,12 @@ .\" .\" $FreeBSD$ .\" -.Dd April 6, 2002 +.Dd September 15, 2002 .Dt STDINT 7 .Os .Sh NAME .Nm stdint -.Nd "integer types" +.Nd "standard integer types" .Sh SYNOPSIS .In stdint.h .Sh DESCRIPTION @@ -37,7 +37,8 @@ The .Aq Pa stdint.h header provides source-portable integer types of a specific size, smallest memory footprint with a minimum size, fastest -access speed with a minimum size, and largest integer size. +access speed with a minimum size, largest integer size, and +those capable of storing pointers. .Pp The types .Vt int8_t , @@ -103,6 +104,24 @@ provides an unsigned integer type large enough to hold any other unsigned integer. These types are generally the largest signed and unsigned integer types available on a specific architecture. +.Pp +The type +.Vt intptr_t +provides a signed integer type with the ability to hold a pointer to +.Vt void , +that can later be converted back to a pointer to +.Vt void . +.Pp +The type +.Vt uintptr_t +provides an unsigned integer type with the ability to hold a pointer to +.Vt void , +that can later be converted back to a pointer to +.Vt void . +.Pp +Additionally, the +.Aq Pa stdint.h +header defines some macros, but none of them are documented here. .Sh STANDARDS The .Aq Pa stdint.h @@ -115,7 +134,3 @@ The .Aq Pa stdint.h header was first introduced in .Fx 5.0 . -.Sh BUGS -Not all of the -.Aq Pa stdint.h -header's features are documented. |