Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Use Dv for NULL.
details: https://anonhg.NetBSD.org/src/rev/b842ffd0262c
branches: trunk
changeset: 341473:b842ffd0262c
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Nov 07 18:47:26 2015 +0000
description:
Use Dv for NULL.
diffstat:
lib/libc/stdlib/posix_memalign.3 | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 8680e440e813 -r b842ffd0262c lib/libc/stdlib/posix_memalign.3
--- a/lib/libc/stdlib/posix_memalign.3 Sat Nov 07 18:46:37 2015 +0000
+++ b/lib/libc/stdlib/posix_memalign.3 Sat Nov 07 18:47:26 2015 +0000
@@ -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 <jasone%FreeBSD.org@localhost>.
.\" All rights reserved.
@@ -49,7 +49,7 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index