Browse Source

- nuke some unneeded Pp; from kristaps

- small tweak while here
OPENBSD_4_8
jmc 15 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 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dt STRTOUL 3
.Os .Os
.Sh NAME .Sh NAME
@ -45,14 +45,11 @@
.Fd #include <stdlib.h> .Fd #include <stdlib.h>
.Ft unsigned long .Ft unsigned long
.Fn strtoul "const char *nptr" "char **endptr" "int base" .Fn strtoul "const char *nptr" "char **endptr" "int base"
.Pp
.Ft unsigned long long .Ft unsigned long long
.Fn strtoull "const char *nptr" "char **endptr" "int base" .Fn strtoull "const char *nptr" "char **endptr" "int base"
.Pp
.Fd #include <inttypes.h> .Fd #include <inttypes.h>
.Ft uintmax_t .Ft uintmax_t
.Fn strtoumax "const char *nptr" "char **endptr" "int base" .Fn strtoumax "const char *nptr" "char **endptr" "int base"
.Pp
.Fd #include <sys/types.h> .Fd #include <sys/types.h>
.Fd #include <limits.h> .Fd #include <limits.h>
.Fd #include <stdlib.h> .Fd #include <stdlib.h>
@ -179,7 +176,7 @@ If no conversion could be performed, 0 is returned;
the global variable the global variable
.Va errno .Va errno
is also set to is also set to
.Er EINVAL, .Er EINVAL ,
though this is not portable across all platforms. though this is not portable across all platforms.
.Pp .Pp
There is no way to determine if There is no way to determine if


|||||||
|||||||
xxxxxxxxxx
 
000:0
x
 
000:0
Loading…
Cancel
Save