summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2003-02-05 23:13:07 +0000
committerkleink <kleink@NetBSD.org>2003-02-05 23:13:07 +0000
commitd58cfc7d35e13bc293ea26acdb2d018264d366a4 (patch)
treec16ce50ce9f7ca4ab4973081c5d84faef43c81a0 /lib/libc
parent889cc758e5160a0bb54da16c11478165a35a7cb5 (diff)
Sprinkle some restrict.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/regex/regex.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index ce3a17f0c24..286a5a603e9 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.14 2002/10/01 17:06:53 wiz Exp $
+.\" $NetBSD: regex.3,v 1.15 2003/02/05 23:13:07 kleink Exp $
.\"
.\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
.\" Copyright (c) 1992, 1993, 1994
@@ -52,11 +52,11 @@
.Sh SYNOPSIS
.Fd #include \*[Lt]regex.h\*[Gt]
.Ft int
-.Fn regcomp "regex_t *preg" "const char *pattern" "int cflags"
+.Fn regcomp "regex_t * restrict preg" "const char * restrict pattern" "int cflags"
.Ft int
-.Fn regexec "const regex_t *preg" "const char *string" "size_t nmatch" "regmatch_t pmatch[]" "int eflags"
+.Fn regexec "const regex_t * restrict preg" "const char * restrict string" "size_t nmatch" "regmatch_t pmatch[]" "int eflags"
.Ft size_t
-.Fn regerror "int errcode" "const regex_t *preg" "char *errbuf" "size_t errbuf_size"
+.Fn regerror "int errcode" "const regex_t * restrict preg" "char * restrict errbuf" "size_t errbuf_size"
.Ft void
.Fn regfree "regex_t *preg"
.Sh DESCRIPTION