summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2010-04-07 18:32:53 +0000
committerjmc <jmc@openbsd.org>2010-04-07 18:32:53 +0000
commite7f3b3cc1656d7f04e3c3a29c58b5e5e2490e849 (patch)
tree0b5507b889900ac836174b20f7aa448dd216e054 /lib/libc
parentCorrectly initialize cursor attribute when this display is a console device; (diff)
downloadwireguard-openbsd-e7f3b3cc1656d7f04e3c3a29c58b5e5e2490e849.tar.xz
wireguard-openbsd-e7f3b3cc1656d7f04e3c3a29c58b5e5e2490e849.zip
- nuke some unneeded Pp; from kristaps
- small tweak while here
Diffstat (limited to 'lib/libc')
-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