summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/re_comp.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/re_comp.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/re_comp.311
1 files changed, 5 insertions, 6 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/re_comp.3 b/upstream/opensuse-tumbleweed/man3/re_comp.3
index 3cb44501..16e0a5aa 100644
--- a/upstream/opensuse-tumbleweed/man3/re_comp.3
+++ b/upstream/opensuse-tumbleweed/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 2024-05-02 "Linux man-pages (unreleased)"
.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.