Re: [PATCH] strcpy.3: Add missing 'restrict'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



D'oh!

It's really been a long time without writing that email address... :-)

On 6/28/21 10:38 PM, Alejandro Colomar wrote:
Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
  man3/strcpy.3 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/strcpy.3 b/man3/strcpy.3
index db4663ff8..545e86107 100644
--- a/man3/strcpy.3
+++ b/man3/strcpy.3
@@ -39,7 +39,7 @@ strcpy, strncpy \- copy a string
  .nf
  .B #include <string.h>
  .PP
-.BI "char *strcpy(char *restrict " dest ", const char *" src );
+.BI "char *strcpy(char *restrict " dest ", const char *restrict " src );
  .BI "char *strncpy(char *restrict " dest ", const char *restrict " src \
  ", size_t " n );
  .fi



--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux