Module Name: src
Committed By: wiz
Date: Sat Nov 7 18:47:26 UTC 2015
Modified Files:
src/lib/libc/stdlib: posix_memalign.3
Log Message:
Use Dv for NULL.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/posix_memalign.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/posix_memalign.3
diff -u src/lib/libc/stdlib/posix_memalign.3:1.2 src/lib/libc/stdlib/posix_memalign.3:1.3
--- src/lib/libc/stdlib/posix_memalign.3:1.2 Sat Nov 7 16:21:42 2015
+++ src/lib/libc/stdlib/posix_memalign.3 Sat Nov 7 18:47:26 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_memalign.3,v 1.2 2015/11/07 16:21:42 nros Exp $
+.\" $NetBSD: posix_memalign.3,v 1.3 2015/11/07 18:47:26 wiz Exp $
.\"
.\" Copyright (C) 2006 Jason Evans <[email protected]>.
.\" All rights reserved.
@@ -49,7 +49,7 @@ The
function allocates
.Fa size
bytes of memory such that the allocation's base address is an even multiple of
-.Fa alignment ,
+.Fa alignment ,
and returns the allocation in the value pointed to by
.Fa ptr .
The requested
@@ -86,7 +86,9 @@ function returns the value 0 if successf
The
.Fn aligned_alloc
function returns a pointer to the allocated memory if successful; on failure it
-returns NULL and sets
+returns
+.Dv NULL
+and sets
.Fa errno
to indicate the error.
.Sh ERRORS