From 951df98fb8ece333b78c36defdfd52186c8884ff Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Thu, 18 Jul 2013 10:14:50 +0000 Subject: [PATCH] HISTORY; tweaks and ok sobrado@ jmc@ --- src/lib/libc/stdlib/malloc.3 | 27 ++++++++++++++++++++++----- src/lib/libc/stdlib/rand.3 | 11 +++++++++-- src/lib/libc/stdlib/system.3 | 9 +++++++-- 3 files changed, 38 insertions(+), 9 deletions(-) diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 07971b9a..414f0a97 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 @@ -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 diff --git a/src/lib/libc/stdlib/rand.3 b/src/lib/libc/stdlib/rand.3 index f1bff691..2de043a8 100644 --- a/src/lib/libc/stdlib/rand.3 +++ b/src/lib/libc/stdlib/rand.3 @@ -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 . diff --git a/src/lib/libc/stdlib/system.3 b/src/lib/libc/stdlib/system.3 index 7c0a5490..878bb0a9 100644 --- a/src/lib/libc/stdlib/system.3 +++ b/src/lib/libc/stdlib/system.3 @@ -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