From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/re_comp.3 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'man3/re_comp.3') 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 .B #include -.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. -- cgit v1.2.3