libc: add reallocarray(3), update malloc manuals
commiteec580e5e8efd9e1c0edfb1727db35d1340518d0
authorLauri Tirkkonen <lotheac@iki.fi>
Fri, 3 Feb 2017 12:01:07 +0000 (3 14:01 +0200)
committerLauri Tirkkonen <lotheac@iki.fi>
Thu, 9 Feb 2017 07:47:43 +0000 (9 09:47 +0200)
tree8db82d22683240badbae2989aa195eef58dcca46
parent19a75d2e3cb4b59c103dc4bd73afb6d8e40688c9
libc: add reallocarray(3), update malloc manuals

reallocarray(3) was imported from OpenBSD, and the new manual pages are
from OpenBSD as well but modified to more accurately reflect our
reality.
18 files changed:
include/stdlib.h
lib/libc/Makefile
lib/libc/alloca.3 [new file with mode: 0644]
lib/libc/malloc.3 [new file with mode: 0644]
lib/libc/posix_memalign.3 [new file with mode: 0644]
lib/libc/valloc.3 [new file with mode: 0644]
share/man/man3c/Makefile
share/man/man3c/malloc.3c [deleted file]
share/man/man3c/posix_memalign.3c [deleted file]
usr/src/lib/libc/amd64/Makefile
usr/src/lib/libc/i386/Makefile.com
usr/src/lib/libc/port/gen/fts.c
usr/src/lib/libc/port/gen/reallocarray.c [new file with mode: 0644]
usr/src/lib/libc/port/mapfile-vers
usr/src/lib/libc/sparc/Makefile.com
usr/src/lib/libc/sparcv9/Makefile.com
usr/src/pkg/manifests/system-library.man3.inc
usr/src/pkg/manifests/system-library.man3c.inc