summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-29 12:44:40 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 03:42:46 +0200
commit893462ec02a14032b5a071bf39c9cda2d97ad364 (patch)
tree51f4068717c15a179c3cee5a2e0c7ab00438c2d0
parenta838a8935312d89ed21897045b7a7a3f1c364ea9 (diff)
re_comp.3: SYNOPSIS: Mark these functions as [[deprecated]]
They are MT unsafe, and replaced by the MT-safe POSIX regex(3) functions. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/re_comp.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/re_comp.3 b/man3/re_comp.3
index 8d0c5f049..dd0e622d9 100644
--- a/man3/re_comp.3
+++ b/man3/re_comp.3
@@ -16,8 +16,8 @@ Standard C library
.B #include <sys/types.h>
.B #include <regex.h>
.PP
-.BI "char *re_comp(const char *" regex );
-.BI "int re_exec(const char *" string );
+.BI "[[deprecated]] char *re_comp(const char *" regex );
+.BI "[[deprecated]] int re_exec(const char *" string );
.fi
.SH DESCRIPTION
.BR re_comp ()