Re: erroneous scanf's %s pointer description

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

 



Hello Stefan,

On 2 December 2015 at 13:36, Stefan Tauner <tauner@xxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have noticed that the description about the %s type modifier in
> the official scanf man page is a bit misleading (man3/scanf.3:454). It
> currently states "the next pointer must be a pointer to character
> array". However the (C99) standard says "the corresponding argument
> shall be a pointer to the initial element of a character array".

Fair enough. I changed the text of the page as you suggest. Thanbks
for the report.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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