diff options
author | robert <robert@FreeBSD.org> | 2002-08-14 22:59:22 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-14 22:59:22 +0000 |
commit | 698d5a31a4ebe531737cd6f545ac15ff26b06838 (patch) | |
tree | 9df4940afbb539047f1629f3d07676734213430e /lib/libc/string/strcpy.3 | |
parent | 6e77bfc7bdee4ede5316f67cff39a530b30b75b3 (diff) | |
download | FreeBSD-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/strcpy.3')
-rw-r--r-- | lib/libc/string/strcpy.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index ae399ab..9a61727 100644 --- a/lib/libc/string/strcpy.3 +++ b/lib/libc/string/strcpy.3 @@ -47,9 +47,9 @@ .Sh SYNOPSIS .In string.h .Ft char * -.Fn strcpy "char *dst" "const char *src" +.Fn strcpy "char *restrict dst" "const char *restrict src" .Ft char * -.Fn strncpy "char *dst" "const char *src" "size_t len" +.Fn strncpy "char *restrict dst" "const char *restrict src" "size_t len" .Sh DESCRIPTION The .Fn strcpy |