mirror of https://github.com/mkerrisk/man-pages
posix_memalign.3: Updated valloc() feature test macro requirements
Added requirements for glibc 2.12. Corrected requirements for glibc versions before 2.12. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
35c25d455d
commit
124b387f69
|
@ -46,6 +46,24 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.ad l
|
.ad l
|
||||||
.BR posix_memalign ():
|
.BR posix_memalign ():
|
||||||
_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
|
_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
|
||||||
|
.sp
|
||||||
|
.BR valloc ():
|
||||||
|
.br
|
||||||
|
.RS 4
|
||||||
|
.TP 4
|
||||||
|
Since glibc 2.12:
|
||||||
|
.nf
|
||||||
|
_BSD_SOURCE ||
|
||||||
|
(_XOPEN_SOURCE >= 500 ||
|
||||||
|
_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
|
||||||
|
!(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
|
||||||
|
.br
|
||||||
|
.fi
|
||||||
|
.TP
|
||||||
|
Before glibc 2.12:
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE >= 500 ||
|
||||||
|
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
|
||||||
|
.RE
|
||||||
.ad b
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
|
|
Loading…
Reference in New Issue