From c3a558fae95f0c2a8b78d229ba54617cbe323183 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 16 Jun 2017 09:10:42 +0200 Subject: [PATCH] rand.3: Note glibc 2.24 feature test macro requirement changes for rand_r() Signed-off-by: Michael Kerrisk --- man3/rand.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/man3/rand.3 b/man3/rand.3 index 11e44c1e8..908467e90 100644 --- a/man3/rand.3 +++ b/man3/rand.3 @@ -58,7 +58,13 @@ Feature Test Macro Requirements for glibc (see .in .sp .BR rand_r (): -_POSIX_C_SOURCE +.RS 4 +Since glibc 2.24: + _POSIX_C_SOURCE >= 199506L +.br +Glibc 2.23 and earlier + _POSIX_C_SOURCE +.RE .SH DESCRIPTION The .BR rand () -- 2.11.4.GIT