Re: strfromd.3: restrict? C99?

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

 



On Wed, 10 Mar 2021, Alejandro Colomar (man-pages) via Libc-alpha wrote:

> And the manual page states that it conforms to some standards, but I haven't
> found it in C99 (neither in C11 nor C18) nor in POSIX:

The strfrom functions are in TS 18661-1, and draft C23 which integrated 
all of TS 18661-1 and -2 and parts of -4 (-3 will be added in an Annex).  
They use restrict in both places.  So it would be appropriate to use 
__restrict in the glibc header (as documentation, qualifiers on function 
parameter types in a declaration that isn't a definition don't have any 
semantic effect).

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx



[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