]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
system_data_types.7: Document regmatch_t
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Fri, 18 Sep 2020 13:29:43 +0000 (15:29 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 18 Sep 2020 20:42:50 +0000 (22:42 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/system_data_types.7

index e577b1d9993163e673954c250b69a9b64a1b48c1..75885c599ae9ba47065571663903b20c05f475d3 100644 (file)
@@ -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