* bug in open(2) example
@ 2021-02-26 17:10 Walter Harms
2021-02-26 20:03 ` Alejandro Colomar (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Walter Harms @ 2021-02-26 17:10 UTC (permalink / raw)
To: linux-man@vger.kernel.org
Hi List,
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.
see:https://man7.org/linux/man-pages/man2/open.2.html
re,
wh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-26 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26 17:10 bug in open(2) example Walter Harms
2021-02-26 20:03 ` Alejandro Colomar (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox