Browse Source

HISTORY; tweaks and ok sobrado@ jmc@

OPENBSD_5_4
schwarze 11 years ago
parent
commit
951df98fb8
3 changed files with 38 additions and 9 deletions
  1. +22
    -5
      src/lib/libc/stdlib/malloc.3
  2. +9
    -2
      src/lib/libc/stdlib/rand.3
  3. +7
    -2
      src/lib/libc/stdlib/system.3

+ 22
- 5
src/lib/libc/stdlib/malloc.3 View File

@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: malloc.3,v 1.72 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: malloc.3,v 1.73 2013/07/18 10:14:49 schwarze Exp $
.\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 18 2013 $
.Dt MALLOC 3
.Os
.Sh NAME
@ -439,10 +439,27 @@ The
function conforms to
.St -ansiC .
.Sh HISTORY
The
.Nm
family of functions first appeared in
A
.Fn free
internal kernel function and a predecessor to
.Fn malloc ,
.Fn alloc ,
first appeared in
.At v1 .
C library functions
.Fn alloc
and
.Fn free
appeared in
.At v6 .
The functions
.Fn malloc ,
.Fn calloc ,
and
.Fn realloc
first appeared in
.At v7 .
.Pp
A new implementation by Chris Kingsley was introduced in
.Bx 4.2 ,
followed by a complete rewrite by Poul-Henning Kamp which appeared in


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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: rand.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: rand.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $
.\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 18 2013 $
.Dt RAND 3
.Os
.Sh NAME
@ -95,3 +95,10 @@ The
.Fn rand_r
function conforms to
.St -p1003.1-2008 .
.Sh HISTORY
The functions
.Fn rand
and
.Fn srand
first appeared in
.At v3 .

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

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: system.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: system.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $
.\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: July 18 2013 $
.Dt SYSTEM 3
.Os
.Sh NAME
@ -94,6 +94,11 @@ function conforms to
.St -ansiC
and
.St -p1003.2-92 .
.Sh HISTORY
The
.Fn system
function first appeared in
.At v6 .
.Sh CAVEATS
Never supply the
.Fn system


Loading…
Cancel
Save