diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-21 20:54:10 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-21 20:54:10 +0000 |
commit | 4343d99dda701d38daa98528f6b6b9681d181dee (patch) | |
tree | cc61ad45fd186263f2a2c9d7874cfaf07e88cba1 /lib/libc/stdlib | |
parent | 255e16d220cc5067d7b81a6c2e7a08c6c9a78e71 (diff) |
.Xr atoll(3) and add missing .Xr of atol(3) in atoll(3) man page.
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/atol.3 | 5 | ||||
-rw-r--r-- | lib/libc/stdlib/atoll.3 | 3 | ||||
-rw-r--r-- | lib/libc/stdlib/strtol.3 | 14 | ||||
-rw-r--r-- | lib/libc/stdlib/strtoul.3 | 13 |
4 files changed, 26 insertions, 9 deletions
diff --git a/lib/libc/stdlib/atol.3 b/lib/libc/stdlib/atol.3 index 53a518997f9..cd276a571f0 100644 --- a/lib/libc/stdlib/atol.3 +++ b/lib/libc/stdlib/atol.3 @@ -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 . diff --git a/lib/libc/stdlib/atoll.3 b/lib/libc/stdlib/atoll.3 index 98b5d9d68c2..8be46407c3f 100644 --- a/lib/libc/stdlib/atoll.3 +++ b/lib/libc/stdlib/atoll.3 @@ -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 diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3 index a5bdff0b81b..7ac9f52b7ab 100644 --- a/lib/libc/stdlib/strtol.3 +++ b/lib/libc/stdlib/strtol.3 @@ -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. diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3 index 6d55de4d7a9..e80903aec1d 100644 --- a/lib/libc/stdlib/strtoul.3 +++ b/lib/libc/stdlib/strtoul.3 @@ -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. |