memcpy.2: missing restrict keyword

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

 



Hello Michael,

Since C99 the memcpy is defined as

void *memcpy(void* restrict dst, const void* restrict src, size_t n);

Shouldn't the restrict keyword be shown in the prototype on the man-page?

Other concerned functions include:

memccpy(), strcat(), strncat, strcpy(), strncpy(), strxfrm(), strtok(),
strtok_r(), printf()-family, fcvt_r(), strtoimax()-family,
getmntent_r(), ...

Just grep for restrict in the standard includes.

Best regards

Heinrich




[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