linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alejandro Colomar <colomar.6.4.3@gmail.com>
To: mtk.manpages@gmail.com
Cc: Alejandro Colomar <colomar.6.4.3@gmail.com>,
	linux-man@vger.kernel.org, libc-alpha@sourceware.org
Subject: [PATCH 1/2] system_data_types.7: Add 'regex_t'
Date: Sun, 11 Oct 2020 13:15:25 +0200	[thread overview]
Message-ID: <20201011111525.9735-1-colomar.6.4.3@gmail.com> (raw)

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index a4a2e0ab8..8a894b2e0 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
-- 
2.28.0


             reply	other threads:[~2020-10-11 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-11 11:15 Alejandro Colomar [this message]
2020-10-11 11:15 ` [PATCH 2/2] regex_t.3: New link to system_data_types(7) Alejandro Colomar
2020-10-11 12:25   ` Michael Kerrisk (man-pages)
2020-10-11 12:25 ` [PATCH 1/2] system_data_types.7: Add 'regex_t' Michael Kerrisk (man-pages)

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=20201011111525.9735-1-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;
as well as URLs for NNTP newsgroup(s).