diff options
Diffstat (limited to 'src/lib/libc/stdlib/strtoul.3')
-rw-r--r-- | src/lib/libc/stdlib/strtoul.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3 index 5e86772ef0..04c9e18d74 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.20 2010/04/07 18:32:53 jmc Exp $ | 32 | .\" $OpenBSD: strtoul.3,v 1.21 2013/06/05 03:39:23 tedu Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd $Mdocdate: April 7 2010 $ | 34 | .Dd $Mdocdate: June 5 2013 $ |
35 | .Dt STRTOUL 3 | 35 | .Dt STRTOUL 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -41,18 +41,18 @@ | |||
41 | .Nm strtouq | 41 | .Nm strtouq |
42 | .Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer" | 42 | .Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer" |
43 | .Sh SYNOPSIS | 43 | .Sh SYNOPSIS |
44 | .Fd #include <limits.h> | 44 | .In limits.h |
45 | .Fd #include <stdlib.h> | 45 | .In 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 | .Ft unsigned long long | 48 | .Ft unsigned long long |
49 | .Fn strtoull "const char *nptr" "char **endptr" "int base" | 49 | .Fn strtoull "const char *nptr" "char **endptr" "int base" |
50 | .Fd #include <inttypes.h> | 50 | .In inttypes.h |
51 | .Ft uintmax_t | 51 | .Ft uintmax_t |
52 | .Fn strtoumax "const char *nptr" "char **endptr" "int base" | 52 | .Fn strtoumax "const char *nptr" "char **endptr" "int base" |
53 | .Fd #include <sys/types.h> | 53 | .In sys/types.h |
54 | .Fd #include <limits.h> | 54 | .In limits.h |
55 | .Fd #include <stdlib.h> | 55 | .In stdlib.h |
56 | .Ft u_quad_t | 56 | .Ft u_quad_t |
57 | .Fn strtouq "const char *nptr" "char **endptr" "int base" | 57 | .Fn strtouq "const char *nptr" "char **endptr" "int base" |
58 | .Sh DESCRIPTION | 58 | .Sh DESCRIPTION |