]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Formerly, the pge said that all systems declare memalign() in
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 15 Nov 2005 18:17:08 +0000 (18:17 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 15 Nov 2005 18:17:08 +0000 (18:17 +0000)
<malloc.h>.  In fact, many declare it in <stdlib.h>.

man3/posix_memalign.3

index 52e44c75838f4b56fe40eeeef9e73e74db3ba807..9306db8fa63835bb5aa1cca40587c204e721ba88 100644 (file)
@@ -171,9 +171,9 @@ Everybody agrees that
 is declared in <stdlib.h>. In order to declare it, glibc needs
 _GNU_SOURCE defined, or _XOPEN_SOURCE defined to a value not less than 600.
 
-Everybody agrees that
+On some systems
 .BR memalign ()
-is declared in <malloc.h>.
+is declared in <stdlib.h> instead of <malloc.h>.
 
 According to SUSv2,
 .BR valloc ()