Browse Source

.Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page.

OPENBSD_3_3
millert 21 years ago
parent
commit
73ff679f9f
4 changed files with 26 additions and 9 deletions
  1. +3
    -2
      src/lib/libc/stdlib/atol.3
  2. +2
    -1
      src/lib/libc/stdlib/atoll.3
  3. +11
    -3
      src/lib/libc/stdlib/strtol.3
  4. +10
    -3
      src/lib/libc/stdlib/strtoul.3

+ 3
- 2
src/lib/libc/stdlib/atol.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: atol.3,v 1.4 2000/04/20 13:50:01 aaron Exp $
.\" $OpenBSD: atol.3,v 1.5 2002/11/21 20:54:09 millert Exp $
.\"
.Dd June 29, 1991
.Dt ATOL 3
@ -63,6 +63,7 @@ strtol(nptr, (char **)NULL, 10);
.Sh SEE ALSO
.Xr atof 3 ,
.Xr atoi 3 ,
.Xr atoll 3 ,
.Xr strtod 3 ,
.Xr strtol 3 ,
.Xr strtoul 3
@ -70,4 +71,4 @@ strtol(nptr, (char **)NULL, 10);
The
.Fn atol
function conforms to
.St -ansiC .
.St -ansiC-99 .

+ 2
- 1
src/lib/libc/stdlib/atoll.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: atoll.3,v 1.1 2002/11/21 20:51:20 millert Exp $
.\" $OpenBSD: atoll.3,v 1.2 2002/11/21 20:54:09 millert Exp $
.\"
.Dd June 29, 1991
.Dt ATOLL 3
@ -63,6 +63,7 @@ strtoll(nptr, (char **)NULL, 10);
.Sh SEE ALSO
.Xr atof 3 ,
.Xr atoi 3 ,
.Xr atol 3 ,
.Xr strtod 3 ,
.Xr strtol 3 ,
.Xr strtoul 3


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

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: strtol.3,v 1.10 2002/06/29 00:20:11 millert Exp $
.\" $OpenBSD: strtol.3,v 1.11 2002/11/21 20:54:09 millert Exp $
.\"
.Dd June 25, 1992
.Dt STRTOL 3
@ -231,13 +231,21 @@ The given string was out of range; the value converted has been clamped.
.Xr atof 3 ,
.Xr atoi 3 ,
.Xr atol 3 ,
.Xr atoll 3 ,
.Xr sscanf 3 ,
.Xr strtod 3 ,
.Xr strtoul 3
.Sh STANDARDS
The
.Fn strtol
function conforms to
.St -ansiC .
and
.Fn strtoll
functions conform to
.St -ansiC-99 .
The
.Fn strtoq
function is a
.Bx
extension and is provided for backwards compatibility with legacy programs.
.Sh BUGS
Ignores the current locale.

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

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: strtoul.3,v 1.10 2002/06/29 00:20:11 millert Exp $
.\" $OpenBSD: strtoul.3,v 1.11 2002/11/21 20:54:09 millert Exp $
.\"
.Dd June 25, 1992
.Dt STRTOUL 3
@ -219,7 +219,14 @@ The given string was out of range; the value converted has been clamped.
.Sh STANDARDS
The
.Fn strtoul
function conforms to
.St -ansiC .
and
.Fn strtoull
functions conform to
.St -ansiC-99 .
The
.Fn strtouq
function is a
.Bx
extension and is provided for backwards compatibility with legacy programs.
.Sh BUGS
Ignores the current locale.

Loading…
Cancel
Save