aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-10-11 13:15:25 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-10-11 14:21:33 +0200
commitadbc303656b51dc0df59bcb01262cb56c55a7f49 (patch)
tree27d99d6572c1a71f59f65f33417cf054f5581a87 /man7
parent71030dbdd225fc823ef9a2cb178985710f3ccb73 (diff)
downloadman-pages-adbc303656b51dc0df59bcb01262cb56c55a7f49.tar.gz
system_data_types.7: Add 'regex_t'
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r--man7/system_data_types.723
1 files changed, 23 insertions, 0 deletions
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index a4a2e0ab87..8a894b2e0e 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -786,6 +786,29 @@ and
.I ssize_t
types in this page.
.RE
+.\"------------------------------------- regex_t ----------------------/
+.TP
+.I regex_t
+.RS
+Include:
+.IR <regex.h> .
+.PP
+.EX
+typedef struct {
+ size_t re_nsub; /* Number of parenthesized subexpressions. */
+} regex_t;
+.EE
+.PP
+This is a structure type used in regular expression matching.
+It holds a compiled regular expression, compiled with
+.IR regcomp (3).
+.PP
+Conforming to:
+POSIX.1-2001 and later.
+.PP
+See also:
+.BR regex (3)
+.RE
.\"------------------------------------- regmatch_t -------------------/
.TP
.I regmatch_t