From: Alejandro Colomar <colomar.6.4.3@gmail.com>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, libc-alpha@sourceware.org,
Alejandro Colomar <colomar.6.4.3@gmail.com>
Subject: [PATCH 2/3] system_data_types.7: Document regmatch_t
Date: Fri, 18 Sep 2020 15:29:43 +0200 [thread overview]
Message-ID: <20200918132943.55424-3-colomar.6.4.3@gmail.com> (raw)
In-Reply-To: <20200918132943.55424-1-colomar.6.4.3@gmail.com>
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
man7/system_data_types.7 | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 2ccbfe817..d3dee2747 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
--
2.28.0
next prev parent reply other threads:[~2020-09-18 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-18 13:29 [PATCH 0/3] Document regmatch_t (and a ffix) Alejandro Colomar
2020-09-18 13:29 ` [PATCH 1/3] system_data_types.7: ffix Alejandro Colomar
2020-09-18 20:42 ` Michael Kerrisk (man-pages)
2020-09-18 13:29 ` Alejandro Colomar [this message]
2020-09-18 20:43 ` [PATCH 2/3] system_data_types.7: Document regmatch_t Michael Kerrisk (man-pages)
2020-09-18 13:29 ` [PATCH 3/3] regmatch_t.3: New page for new documented type in system_data_types(7) Alejandro Colomar
2020-09-18 20:45 ` Michael Kerrisk (man-pages)
2020-09-18 21:33 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200918132943.55424-3-colomar.6.4.3@gmail.com \
--to=colomar.6.4.3@gmail.com \
--cc=libc-alpha@sourceware.org \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox