summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1997-05-31 08:55:05 +0000
committertholo <tholo@openbsd.org>1997-05-31 08:55:05 +0000
commitd08d87f7cf886c49aeaedf577ae8df04738c5f77 (patch)
treee7b6fea239c28e8bdf024f2256a8c10ebc6223ee /lib/libc/stdlib/malloc.3
parentvarious (diff)
downloadwireguard-openbsd-d08d87f7cf886c49aeaedf577ae8df04738c5f77.tar.xz
wireguard-openbsd-d08d87f7cf886c49aeaedf577ae8df04738c5f77.zip
Make it possible to not output warnings (errors causing aborts are always
output).
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index f5ab9d70d9b..eb09eeedbca 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.5 1997/05/31 08:47:55 tholo Exp $
+.\" $OpenBSD: malloc.3,v 1.6 1997/05/31 08:55:05 tholo Exp $
.\"
.Dd August 27, 1996
.Dt MALLOC 3
@@ -150,6 +150,10 @@ Currently junk is bytes of 0xd0, this is pronounced ``Duh'' :-)
``hint'' pass a hint to the kernel about pages we don't use. If the
machine is paging a lot this may help a bit.
+.It N
+Do not output warning messages when encountering possible corruption
+or bad pointers.
+
.It R
``realloc'' always reallocate when
.Fn realloc