Browse Source

Put limits.h in front of stdlib.h as style(9) recommends.

OK millert@
OPENBSD_4_3
tobias 17 years ago
parent
commit
a1236056e5
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      src/lib/libc/stdlib/strtol.3
  2. +4
    -4
      src/lib/libc/stdlib/strtoul.3

+ 4
- 4
src/lib/libc/stdlib/strtol.3 View File

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: strtol.3,v 1.18 2007/06/29 18:54:37 millert Exp $
.\" $OpenBSD: strtol.3,v 1.19 2007/11/13 18:30:04 tobias Exp $
.\"
.Dd $Mdocdate: June 29 2007 $
.Dd $Mdocdate: November 13 2007 $
.Dt STRTOL 3
.Os
.Sh NAME
@ -41,8 +41,8 @@
.Nm strtoq ,
.Nd "convert string value to a long, long long or intmax_t integer"
.Sh SYNOPSIS
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h>
.Ft long
.Fn strtol "const char *nptr" "char **endptr" "int base"
.Pp
@ -54,8 +54,8 @@
.Fn strtoimax "const char *nptr" "char **endptr" "int base"
.Pp
.Fd #include <sys/types.h>
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h>
.Ft quad_t
.Fn strtoq "const char *nptr" "char **endptr" "int base"
.Sh DESCRIPTION


+ 4
- 4
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.18 2007/06/29 18:54:37 millert Exp $
.\" $OpenBSD: strtoul.3,v 1.19 2007/11/13 18:30:04 tobias Exp $
.\"
.Dd $Mdocdate: June 29 2007 $
.Dd $Mdocdate: November 13 2007 $
.Dt STRTOUL 3
.Os
.Sh NAME
@ -41,8 +41,8 @@
.Nm strtouq
.Nd "convert a string to an unsigned long, unsigned long long or uintmax_t integer"
.Sh SYNOPSIS
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h>
.Ft unsigned long
.Fn strtoul "const char *nptr" "char **endptr" "int base"
.Pp
@ -54,8 +54,8 @@
.Fn strtoumax "const char *nptr" "char **endptr" "int base"
.Pp
.Fd #include <sys/types.h>
.Fd #include <stdlib.h>
.Fd #include <limits.h>
.Fd #include <stdlib.h>
.Ft u_quad_t
.Fn strtouq "const char *nptr" "char **endptr" "int base"
.Sh DESCRIPTION


Loading…
Cancel
Save