diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-04-14 13:59:13 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-04-14 13:59:13 +0200 |
commit | 9ad94d352696c166b99b59d5c0f44f08a8a5736e (patch) | |
tree | db1c60b65d96dc110a9ae81f7dc54343c6b8fb38 | |
parent | af1ab8cf11165dba56dc54bae7310aa7824fd89b (diff) |
stdc.1: Add manual page
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | share/man/man1/stdc.1 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/share/man/man1/stdc.1 b/share/man/man1/stdc.1 new file mode 100644 index 0000000..7fde342 --- /dev/null +++ b/share/man/man1/stdc.1 @@ -0,0 +1,44 @@ +.TH stdc 1 (date) "stdc (unreleased)" +.SH Name +stdc \- find function declarations in drafts of ISO C +.SH Synopsis +.SY stdc +.I std +.I func +.YS +.SH Description +.MR stdc 1 +searches for function declarations in drafts of ISO C. +It also finds function-like declarations, like macros. +.TP +.I std +Version of the ISO C standard to search. +Possible values (case insensitive): +.RS +.IP \[bu] 3 +c89 +.PD 0 +.IP \[bu] +c99 +.IP \[bu] +c11 +.PD +.RE +.TP +.I func +Name of the function to be searched. +It is a +.MR PCRE2 3 +pattern. +.SH Examples +.EX +.RB "$ " "stdc c11 \[aq]mem[[:alpha:]]*\[aq]" +void *memcpy(void * restrict s1, const void * restrict s2, size_t n); +void *memmove(void *s1, const void *s2, size_t n); +int memcmp(const void *s1, const void *s2, size_t n); +void *memchr(const void *s, int c, size_t n); +void *memset(void *s, int c, size_t n); +.EE +.SH See also +.MR grepc 1 , +.MR pcre2grep 1 |