diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-10-02 07:49:35 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-10-02 07:49:35 +0000 |
| commit | 4047df8d249eb931f75bb645dee9761946216fbd (patch) | |
| tree | e9e33ee1e527e372ff8dc15fd1eb11b996ab444f /lib/libc/regex/regex.3 | |
| parent | a4319fd03db836c56860bca0ac87e406850f6828 (diff) | |
Notes
Diffstat (limited to 'lib/libc/regex/regex.3')
| -rw-r--r-- | lib/libc/regex/regex.3 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index 857f55266348..dc0bac8c742d 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -36,7 +36,7 @@ .\" @(#)regex.3 8.4 (Berkeley) 3/20/94 .\" $FreeBSD$ .\" -.Dd March 20, 1994 +.Dd October 2, 2002 .Dt REGEX 3 .Os .Sh NAME @@ -48,19 +48,20 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In regex.h .Ft int -.Fn regcomp "regex_t *preg" "const char *pattern" "int cflags" +.Fo regcomp +.Fa "regex_t * restrict preg" "const char * restrict pattern" "int cflags" +.Fc .Ft int .Fo regexec -.Fa "const regex_t *preg" "const char *string" -.Fa "size_t nmatch" "regmatch_t pmatch[]" "int eflags" +.Fa "const regex_t * restrict preg" "const char * restrict string" +.Fa "size_t nmatch" "regmatch_t pmatch[restrict]" "int eflags" .Fc .Ft size_t .Fo regerror -.Fa "int errcode" "const regex_t *preg" -.Fa "char *errbuf" "size_t errbuf_size" +.Fa "int errcode" "const regex_t * restrict preg" +.Fa "char * restrict errbuf" "size_t errbuf_size" .Fc .Ft void .Fn regfree "regex_t *preg" |
