Re: "restrict" in brackets - what is this?

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

 



On Thu, 2023-08-10 at 09:39 -0500, Ian Pilcher via Gcc-help wrote:
> I am looking at the man page for inet_ntop(3) on my Fedora 38 system,
> and it shows the following:
> 
>   const char *inet_ntop(int af, const void *restrict src,
>                         char dst[restrict .size], socklen_t size);
>                                  ^^^^^^^^^^^^^^
> 
> I have never seen the underlined syntax used before.  Is this a GCC
> extension, something from one of the newer C standards, or something
> else?
> 
> Sorry for the potentially stupid question, but none of my searches have
> turned up anything.

man pages are not a part of GCC.  Please ask via
linux-man@xxxxxxxxxxxxxxx.

-- 
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux