Browse Source

- nuke some unneeded Pp; from kristaps

- small tweak while here
OPENBSD_4_8
jmc 14 years ago
parent
commit
ae4224e9df
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      src/lib/libc/stdlib/strtoul.3

+ 3
- 6
src/lib/libc/stdlib/strtoul.3 View File

@ -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


Loading…
Cancel
Save