]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
re_comp.3: SYNOPSIS: Mark these functions as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 29 Oct 2021 10:44:40 +0000 (12:44 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:42:46 +0000 (03:42 +0200)
They are MT unsafe, and replaced by the MT-safe POSIX regex(3)
functions.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/re_comp.3

index 8d0c5f0493f04da5f0fc5c77df4a146205c19f51..dd0e622d96eea754265760ee8e50edeea9dee7f4 100644 (file)
@@ -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 ()