summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcat.3
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-14 22:59:22 +0000
committerrobert <robert@FreeBSD.org>2002-08-14 22:59:22 +0000
commit698d5a31a4ebe531737cd6f545ac15ff26b06838 (patch)
tree9df4940afbb539047f1629f3d07676734213430e /lib/libc/string/strcat.3
parent6e77bfc7bdee4ede5316f67cff39a530b30b75b3 (diff)
downloadFreeBSD-src-698d5a31a4ebe531737cd6f545ac15ff26b06838.zip
FreeBSD-src-698d5a31a4ebe531737cd6f545ac15ff26b06838.tar.gz
- Add the 'restrict' qualifier to the definitions of the string
concatenation and copy functions using the '__restrict' macro. This is to satisfy IEEE Std 1003-1.2001. - Use ANSI-C function definitions. - Add the 'restrict' keyword to the manual pages, too.
Diffstat (limited to 'lib/libc/string/strcat.3')
-rw-r--r--lib/libc/string/strcat.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcat.3 b/lib/libc/string/strcat.3
index 316b6b9..506cd89 100644
--- a/lib/libc/string/strcat.3
+++ b/lib/libc/string/strcat.3
@@ -47,9 +47,9 @@
.Sh SYNOPSIS
.In string.h
.Ft char *
-.Fn strcat "char *s" "const char *append"
+.Fn strcat "char *restrict s" "const char *restrict append"
.Ft char *
-.Fn strncat "char *s" "const char *append" "size_t count"
+.Fn strncat "char *restrict s" "const char *restrict append" "size_t count"
.Sh DESCRIPTION
The
.Fn strcat
OpenPOWER on IntegriCloud