[PATCH] regex.3: *preg is initialized with regcomp() -- not regexec()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 1838a55edd6c47cb ("regex.3: Desoupify regexec() description")
Cc: наб <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Dirk Gouders <dirk@xxxxxxxxxxx>
---
 man/man3/regex.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/man3/regex.3 b/man/man3/regex.3
index d49bcd465..3069489cb 100644
--- a/man/man3/regex.3
+++ b/man/man3/regex.3
@@ -135,7 +135,7 @@ is used to match a null-terminated string
 against the compiled pattern buffer in
 .IR *preg ,
 which must have been initialised with
-.BR regexec ().
+.BR regcomp ().
 .I eflags
 is the
 bitwise OR
-- 
2.44.2





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux