Re: bug in open(2) example

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

 



Hi Walter,

On 2/26/21 6:10 PM, Walter Harms wrote:
the example for O_TMPFILE is broken:
   linkat(fd, NULL, AT_FDCWD, "/path/for/file", AT_EMPTY_PATH);
                      ^^^^^^
as the linkat(2) page says "Empty String" not NULL.

Thanks!  I'll send a patch to Michael.

Cheers,

Alex

--
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