summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtol.3
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
committertedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
commit64d4e9871d1af4e50715ace8f2f237ff8e4d36e0 (patch)
tree90569bb16bd247c9a0433830994a6bc333a5a4f9 /lib/libc/stdlib/strtol.3
parentm_defrag(9) wasnt documented. (diff)
downloadwireguard-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/strtol.3')
-rw-r--r--lib/libc/stdlib/strtol.316
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index 6f9037a645d..10cc102caae 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtol.3,v 1.22 2011/09/03 23:24:51 jmc Exp $
+.\" $OpenBSD: strtol.3,v 1.23 2013/06/05 03:39:23 tedu Exp $
.\"
-.Dd $Mdocdate: September 3 2011 $
+.Dd $Mdocdate: June 5 2013 $
.Dt STRTOL 3
.Os
.Sh NAME
@@ -41,21 +41,21 @@
.Nm strtoq ,
.Nd "convert string value to a long, long long or intmax_t integer"
.Sh SYNOPSIS
-.Fd #include <limits.h>
-.Fd #include <stdlib.h>
+.In limits.h
+.In stdlib.h
.Ft long
.Fn strtol "const char *nptr" "char **endptr" "int base"
.Pp
.Ft long long
.Fn strtoll "const char *nptr" "char **endptr" "int base"
.Pp
-.Fd #include <inttypes.h>
+.In inttypes.h
.Ft intmax_t
.Fn strtoimax "const char *nptr" "char **endptr" "int base"
.Pp
-.Fd #include <sys/types.h>
-.Fd #include <limits.h>
-.Fd #include <stdlib.h>
+.In sys/types.h
+.In limits.h
+.In stdlib.h
.Ft quad_t
.Fn strtoq "const char *nptr" "char **endptr" "int base"
.Sh DESCRIPTION