Browse Source

more library history

facts checked by sobrado@
style tweaks and ok jmc@
OPENBSD_5_4
schwarze 11 years ago
parent
commit
dd7aa95190
11 changed files with 71 additions and 29 deletions
  1. +7
    -2
      src/lib/libc/stdlib/abort.3
  2. +7
    -2
      src/lib/libc/stdlib/abs.3
  3. +7
    -2
      src/lib/libc/stdlib/atof.3
  4. +7
    -2
      src/lib/libc/stdlib/atoi.3
  5. +6
    -2
      src/lib/libc/stdlib/exit.3
  6. +8
    -2
      src/lib/libc/stdlib/ldiv.3
  7. +7
    -2
      src/lib/libc/stdlib/qsort.3
  8. +6
    -4
      src/lib/libc/string/strcat.3
  9. +6
    -4
      src/lib/libc/string/strcmp.3
  10. +6
    -4
      src/lib/libc/string/strcpy.3
  11. +4
    -3
      src/lib/libc/string/strlen.3

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: abort.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: abort.3,v 1.10 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt ABORT 3 .Dt ABORT 3
.Os .Os
.Sh NAME .Sh NAME
@ -61,3 +61,8 @@ The
.Fn abort .Fn abort
function conforms to function conforms to
.St -p1003.1-90 . .St -p1003.1-90 .
.Sh HISTORY
The
.Fn abort
function first appeared in
.At v5 .

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: abs.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: abs.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt ABS 3 .Dt ABS 3
.Os .Os
.Sh NAME .Sh NAME
@ -61,5 +61,10 @@ The
.Fn abs .Fn abs
function conforms to function conforms to
.St -ansiC . .St -ansiC .
.Sh HISTORY
The
.Fn abs
function first appeared in
.At v6 .
.Sh BUGS .Sh BUGS
The absolute value of the most negative integer remains negative. The absolute value of the most negative integer remains negative.

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: atof.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: atof.3,v 1.7 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt ATOF 3 .Dt ATOF 3
.Os .Os
.Sh NAME .Sh NAME
@ -67,3 +67,8 @@ The
.Fn atof .Fn atof
function conforms to function conforms to
.St -ansiC . .St -ansiC .
.Sh HISTORY
An
.Fn atof
function first appeared in
.At v1 .

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: atoi.3,v 1.10 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: atoi.3,v 1.11 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt ATOI 3 .Dt ATOI 3
.Os .Os
.Sh NAME .Sh NAME
@ -68,6 +68,11 @@ The
.Fn atoi .Fn atoi
function conforms to function conforms to
.St -ansiC . .St -ansiC .
.Sh HISTORY
An
.Fn atoi
function first appeared in
.At v1 .
.Sh CAVEATS .Sh CAVEATS
.Nm .Nm
does no overflow checking, handles unsigned numbers poorly, does no overflow checking, handles unsigned numbers poorly,


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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: exit.3,v 1.14 2013/06/05 04:06:08 guenther Exp $
.\" $OpenBSD: exit.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt EXIT 3 .Dt EXIT 3
.Os .Os
.Sh NAME .Sh NAME
@ -92,6 +92,10 @@ An
.Fn exit .Fn exit
function first appeared as a system call in function first appeared as a system call in
.At v1 . .At v1 .
It has accepted the
.Fa status
argument since
.At v2 .
In In
.At v7 , .At v7 ,
the bare system call was renamed to the bare system call was renamed to


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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ldiv.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: ldiv.3,v 1.12 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt LDIV 3 .Dt LDIV 3
.Os .Os
.Sh NAME .Sh NAME
@ -64,3 +64,9 @@ The
.Fn ldiv .Fn ldiv
function conforms to function conforms to
.St -ansiC . .St -ansiC .
.Sh HISTORY
An
.Fn ldiv
function with similar functionality, but a different calling convention,
first appeared in
.At v4 .

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: qsort.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: qsort.3,v 1.17 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt QSORT 3 .Dt QSORT 3
.Os .Os
.Sh NAME .Sh NAME
@ -231,3 +231,8 @@ The
.Fn qsort .Fn qsort
function conforms to function conforms to
.St -ansiC . .St -ansiC .
.Sh HISTORY
A
.Fn qsort
function first appeared in
.At v3 .

+ 6
- 4
src/lib/libc/string/strcat.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strcat.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: strcat.3,v 1.15 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt STRCAT 3 .Dt STRCAT 3
.Os .Os
.Sh NAME .Sh NAME
@ -135,7 +135,9 @@ functions conform to
.Sh HISTORY .Sh HISTORY
The The
.Fn strcat .Fn strcat
and
function first appeared in the Programmer's Workbench (PWB/UNIX)
and was ported to
.At v7 ;
.Fn strncat .Fn strncat
functions first appeared in
first appeared in
.At v7 . .At v7 .

+ 6
- 4
src/lib/libc/string/strcmp.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strcmp.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: strcmp.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt STRCMP 3 .Dt STRCMP 3
.Os .Os
.Sh NAME .Sh NAME
@ -89,7 +89,9 @@ functions conform to
.Sh HISTORY .Sh HISTORY
The The
.Fn strcmp .Fn strcmp
and
function first appeared in the Programmer's Workbench (PWB/UNIX)
and was ported to
.At v7 ;
.Fn strncmp .Fn strncmp
functions first appeared in
first appeared in
.At v7 . .At v7 .

+ 6
- 4
src/lib/libc/string/strcpy.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strcpy.3,v 1.17 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: strcpy.3,v 1.18 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt STRCPY 3 .Dt STRCPY 3
.Os .Os
.Sh NAME .Sh NAME
@ -156,7 +156,9 @@ functions conform to
.Sh HISTORY .Sh HISTORY
The The
.Fn strcpy .Fn strcpy
and
function first appeared in the Programmer's Workbench (PWB/UNIX)
and was ported to
.At v7 ;
.Fn strncpy .Fn strncpy
functions first appeared in
first appeared in
.At v7 . .At v7 .

+ 4
- 3
src/lib/libc/string/strlen.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strlen.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: strlen.3,v 1.12 2013/07/17 05:42:11 schwarze Exp $
.\" .\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 17 2013 $
.Dt STRLEN 3 .Dt STRLEN 3
.Os .Os
.Sh NAME .Sh NAME
@ -95,7 +95,8 @@ functions conform to
.Sh HISTORY .Sh HISTORY
The The
.Fn strlen .Fn strlen
function first appeared in
function first appeared in the Programmer's Workbench (PWB/UNIX)
and was ported to
.At v7 . .At v7 .
The The
.Fn strnlen .Fn strnlen


Loading…
Cancel
Save