Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/2] system_data_types.7: Add 'regex_t'
@ 2020-10-11 11:15 Alejandro Colomar
  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 ` [PATCH 1/2] system_data_types.7: Add 'regex_t' Michael Kerrisk (man-pages)
  0 siblings, 2 replies; 4+ messages in thread
From: Alejandro Colomar @ 2020-10-11 11:15 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, libc-alpha

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] regex_t.3: New link to system_data_types(7)
  2020-10-11 11:15 [PATCH 1/2] system_data_types.7: Add 'regex_t' Alejandro Colomar
@ 2020-10-11 11:15 ` 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)
  1 sibling, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2020-10-11 11:15 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, libc-alpha

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man3/regex_t.3 | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 man3/regex_t.3

diff --git a/man3/regex_t.3 b/man3/regex_t.3
new file mode 100644
index 000000000..db50c0f09
--- /dev/null
+++ b/man3/regex_t.3
@@ -0,0 +1 @@
+.so man7/system_data_types.7
-- 
2.28.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] system_data_types.7: Add 'regex_t'
  2020-10-11 11:15 [PATCH 1/2] system_data_types.7: Add 'regex_t' Alejandro Colomar
  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)
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-10-11 12:25 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, libc-alpha

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

Thanks, Alex. Patch applied.

Cheers,

Michael

> 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
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] regex_t.3: New link to system_data_types(7)
  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)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-10-11 12:25 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, libc-alpha

On 10/11/20 1:15 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>

Thanks, Alex. Patch applied.

Cheers,

Michael


> ---
>  man3/regex_t.3 | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 man3/regex_t.3
> 
> diff --git a/man3/regex_t.3 b/man3/regex_t.3
> new file mode 100644
> index 000000000..db50c0f09
> --- /dev/null
> +++ b/man3/regex_t.3
> @@ -0,0 +1 @@
> +.so man7/system_data_types.7
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-11 11:15 [PATCH 1/2] system_data_types.7: Add 'regex_t' Alejandro Colomar
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)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git