aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-09-18 15:29:43 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-09-18 22:42:50 +0200
commit6fdfb077b839ec88a12d90fe3fa890ccd15e32bc (patch)
treeaadb906f02f9844d6df4a20d276f4ddc054ad587 /man7
parentf33cc314202f73d09300aacabe1a557293a6ff4d (diff)
downloadman-pages-6fdfb077b839ec88a12d90fe3fa890ccd15e32bc.tar.gz
system_data_types.7: Document regmatch_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, 21 insertions, 2 deletions
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index e577b1d999..75885c599a 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -82,6 +82,25 @@ and
.I ssize_t
types in this page.
.TP
+.I regmatch_t
+.IP
+Include:
+.IR <regex.h> .
+.IP
+.EX
+typedef struct {
+ regoff_t rm_so; /* Byte offset from start of string
+ * to start of substring */
+ regoff_t rm_eo; /* Byte offset from start of string of the
+ * first character after the end of substring */
+} regmatch_t;
+.EE
+.IP
+Conforming to: POSIX.1-2001 and later.
+.IP
+See also:
+.BR regexec (3)
+.TP
.I regoff_t
.IP
Include:
@@ -104,8 +123,8 @@ type or a
type.
.IP
See also the
-.\".I regmatch_t FIXME
-.\"structure and the
+.I regmatch_t
+structure and the
.I ptrdiff_t
and
.I ssize_t