diff options
author | 2013-06-05 03:39:22 +0000 | |
---|---|---|
committer | 2013-06-05 03:39:22 +0000 | |
commit | 64d4e9871d1af4e50715ace8f2f237ff8e4d36e0 (patch) | |
tree | 90569bb16bd247c9a0433830994a6bc333a5a4f9 /lib/libc/stdlib/strtoul.3 | |
parent | m_defrag(9) wasnt documented. (diff) | |
download | wireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.tar.xz wireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.zip |
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
Diffstat (limited to 'lib/libc/stdlib/strtoul.3')
-rw-r--r-- | lib/libc/stdlib/strtoul.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index 5e86772ef01..04c9e18d741 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strtoul.3,v 1.20 2010/04/07 18:32:53 jmc Exp $ +.\" $OpenBSD: strtoul.3,v 1.21 2013/06/05 03:39:23 tedu Exp $ .\" -.Dd $Mdocdate: April 7 2010 $ +.Dd $Mdocdate: June 5 2013 $ .Dt STRTOUL 3 .Os .Sh NAME @@ -41,18 +41,18 @@ .Nm strtouq .Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer" .Sh SYNOPSIS -.Fd #include <limits.h> -.Fd #include <stdlib.h> +.In limits.h +.In stdlib.h .Ft unsigned long .Fn strtoul "const char *nptr" "char **endptr" "int base" .Ft unsigned long long .Fn strtoull "const char *nptr" "char **endptr" "int base" -.Fd #include <inttypes.h> +.In inttypes.h .Ft uintmax_t .Fn strtoumax "const char *nptr" "char **endptr" "int base" -.Fd #include <sys/types.h> -.Fd #include <limits.h> -.Fd #include <stdlib.h> +.In sys/types.h +.In limits.h +.In stdlib.h .Ft u_quad_t .Fn strtouq "const char *nptr" "char **endptr" "int base" .Sh DESCRIPTION |