summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-04-07 18:32:54 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-04-07 18:32:54 +0000
commit33f3b92741917542fce7e6f6d96299052f851827 (patch)
treeb7002368cd37af35f1110a7df3d254a2e2ef6aed
parentce8992a85462a1d9e52c6b641b7f9f2bbe958034 (diff)
- nuke some unneeded Pp; from kristaps
- small tweak while here
-rw-r--r--lib/libc/stdlib/strtoul.39
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3
index a7c6bbfa18e..5e86772ef01 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.19 2007/11/13 18:30:04 tobias Exp $
+.\" $OpenBSD: strtoul.3,v 1.20 2010/04/07 18:32:53 jmc Exp $
.\"
-.Dd $Mdocdate: November 13 2007 $
+.Dd $Mdocdate: April 7 2010 $
.Dt STRTOUL 3
.Os
.Sh NAME
@@ -45,14 +45,11 @@
.Fd #include <stdlib.h>
.Ft unsigned long
.Fn strtoul "const char *nptr" "char **endptr" "int base"
-.Pp
.Ft unsigned long long
.Fn strtoull "const char *nptr" "char **endptr" "int base"
-.Pp
.Fd #include <inttypes.h>
.Ft uintmax_t
.Fn strtoumax "const char *nptr" "char **endptr" "int base"
-.Pp
.Fd #include <sys/types.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h>
@@ -179,7 +176,7 @@ If no conversion could be performed, 0 is returned;
the global variable
.Va errno
is also set to
-.Er EINVAL,
+.Er EINVAL ,
though this is not portable across all platforms.
.Pp
There is no way to determine if