summaryrefslogtreecommitdiffstats
path: root/man3/re_comp.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/re_comp.311
1 files changed, 5 insertions, 6 deletions
diff --git a/man3/re_comp.3 b/man3/re_comp.3
index 3cb4450..038dc96 100644
--- a/man3/re_comp.3
+++ b/man3/re_comp.3
@@ -5,7 +5,7 @@
.\"
.\" Wed Jun 14 16:10:28 BST 1995 Wilf. (G.Wilford@@ee.surrey.ac.uk)
.\"
-.TH re_comp 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH re_comp 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
re_comp, re_exec \- BSD regex functions
.SH LIBRARY
@@ -16,7 +16,7 @@ Standard C library
.B #define _REGEX_RE_COMP
.B #include <sys/types.h>
.B #include <regex.h>
-.PP
+.P
.BI "[[deprecated]] char *re_comp(const char *" regex );
.BI "[[deprecated]] int re_exec(const char *" string );
.fi
@@ -32,7 +32,7 @@ If
is NULL,
no operation is performed and the pattern buffer's contents are not
altered.
-.PP
+.P
.BR re_exec ()
is used to assess whether the null-terminated string pointed to by
.I string
@@ -43,7 +43,7 @@ matches the previously compiled
returns NULL on successful compilation of
.I regex
otherwise it returns a pointer to an appropriate error message.
-.PP
+.P
.BR re_exec ()
returns 1 for a successful match, zero for failure.
.SH ATTRIBUTES
@@ -61,12 +61,11 @@ T{
.BR re_exec ()
T} Thread safety MT-Unsafe
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY
4.3BSD.
-.PP
+.P
These functions are obsolete; the functions documented in
.BR regcomp (3)
should be used instead.