aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-12-30 12:26:03 +0100
committerAlejandro Colomar <alx@kernel.org>2022-12-30 12:26:03 +0100
commitaa43f7bd75c2dc3715c4c968970965c81a2e7a3d (patch)
treeb5f8f4c767f04826d79bab50e72beedc9c8b96be
parent94877d15a4c3783c75e9e3c16077e31323b0babd (diff)
downloadman-pages-aa43f7bd75c2dc3715c4c968970965c81a2e7a3d.tar.gz
rand.3: SYNOPSIS: Mark rand_r() as deprecated
POSIX.1-2008 says so, and it's not a very useful function either. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/rand.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/rand.3 b/man3/rand.3
index e7778655e5..722ff3a2b0 100644
--- a/man3/rand.3
+++ b/man3/rand.3
@@ -30,8 +30,9 @@ Standard C library
.B #include <stdlib.h>
.PP
.B int rand(void);
-.BI "int rand_r(unsigned int *" seedp );
.BI "void srand(unsigned int " seed );
+.PP
+.BI "[[deprecated]] int rand_r(unsigned int *" seedp );
.fi
.PP
.RS -4