summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-09-02 09:14:34 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-09-04 07:58:45 +0200
commit21a1f5bd507295c1a2f092fa7b92729fa94388c6 (patch)
treea95c739c0d28e9421bb31ec61b39f70cbb43a433
parent558f02dff03b5835d9f83f20b2056f38c6238a36 (diff)
posix_memalign.3: 'errno" is indeterminate after a call to posix_memalign()
Reported-by: Will Newton <will.newton@linaro.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/posix_memalign.37
1 files changed, 4 insertions, 3 deletions
diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3
index 29217fa0..48dc7707 100644
--- a/man3/posix_memalign.3
+++ b/man3/posix_memalign.3
@@ -26,7 +26,7 @@
.\" 2001-10-11, 2003-08-22, aeb, added some details
.\" 2012-03-23, Michael Kerrisk <mtk.manpages@mail.com>
.\" Document pvalloc() and aligned_alloc()
-.TH POSIX_MEMALIGN 3 2012-03-23 "GNU" "Linux Programmer's Manual"
+.TH POSIX_MEMALIGN 3 2013-09-02 "GNU" "Linux Programmer's Manual"
.SH NAME
posix_memalign, aligned_alloc, memalign, valloc, pvalloc \- allocate aligned memory
.SH SYNOPSIS
@@ -150,9 +150,10 @@ return a pointer to the allocated memory, or NULL if the request fails.
.BR posix_memalign ()
returns zero on success, or one of the error values listed in the
next section on failure.
-Note that
+The value of
.I errno
-is not set.
+is indeterminate after a call to
+.BR posix_memalign ().
.SH ERRORS
.TP
.B EINVAL