diff options
| author | jmc <> | 2010-04-07 18:32:53 +0000 |
|---|---|---|
| committer | jmc <> | 2010-04-07 18:32:53 +0000 |
| commit | 3368464972faf5ed33853fda5c0505f9af93fbec (patch) | |
| tree | d81cfccdf1bc2281a178640cd2998fd3850b73eb /src/lib/libc/stdlib | |
| parent | da6f36e6b9f29c2a42d837dc544eba52444c508d (diff) | |
| download | openbsd-3368464972faf5ed33853fda5c0505f9af93fbec.tar.gz openbsd-3368464972faf5ed33853fda5c0505f9af93fbec.tar.bz2 openbsd-3368464972faf5ed33853fda5c0505f9af93fbec.zip | |
- nuke some unneeded Pp; from kristaps
- small tweak while here
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/stdlib/strtoul.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3 index a7c6bbfa18..5e86772ef0 100644 --- a/src/lib/libc/stdlib/strtoul.3 +++ b/src/lib/libc/stdlib/strtoul.3 | |||
| @@ -29,9 +29,9 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: strtoul.3,v 1.19 2007/11/13 18:30:04 tobias Exp $ | 32 | .\" $OpenBSD: strtoul.3,v 1.20 2010/04/07 18:32:53 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: November 13 2007 $ | 34 | .Dd $Mdocdate: April 7 2010 $ |
| 35 | .Dt STRTOUL 3 | 35 | .Dt STRTOUL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -45,14 +45,11 @@ | |||
| 45 | .Fd #include <stdlib.h> | 45 | .Fd #include <stdlib.h> |
| 46 | .Ft unsigned long | 46 | .Ft unsigned long |
| 47 | .Fn strtoul "const char *nptr" "char **endptr" "int base" | 47 | .Fn strtoul "const char *nptr" "char **endptr" "int base" |
| 48 | .Pp | ||
| 49 | .Ft unsigned long long | 48 | .Ft unsigned long long |
| 50 | .Fn strtoull "const char *nptr" "char **endptr" "int base" | 49 | .Fn strtoull "const char *nptr" "char **endptr" "int base" |
| 51 | .Pp | ||
| 52 | .Fd #include <inttypes.h> | 50 | .Fd #include <inttypes.h> |
| 53 | .Ft uintmax_t | 51 | .Ft uintmax_t |
| 54 | .Fn strtoumax "const char *nptr" "char **endptr" "int base" | 52 | .Fn strtoumax "const char *nptr" "char **endptr" "int base" |
| 55 | .Pp | ||
| 56 | .Fd #include <sys/types.h> | 53 | .Fd #include <sys/types.h> |
| 57 | .Fd #include <limits.h> | 54 | .Fd #include <limits.h> |
| 58 | .Fd #include <stdlib.h> | 55 | .Fd #include <stdlib.h> |
| @@ -179,7 +176,7 @@ If no conversion could be performed, 0 is returned; | |||
| 179 | the global variable | 176 | the global variable |
| 180 | .Va errno | 177 | .Va errno |
| 181 | is also set to | 178 | is also set to |
| 182 | .Er EINVAL, | 179 | .Er EINVAL , |
| 183 | though this is not portable across all platforms. | 180 | though this is not portable across all platforms. |
| 184 | .Pp | 181 | .Pp |
| 185 | There is no way to determine if | 182 | There is no way to determine if |
