|
From: | Paul Eggert |
Subject: | Re: errno from open(<directory>) ? |
Date: | Mon, 22 May 2017 08:00:14 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/22/2017 03:58 AM, Tim Rühsen wrote:
No, for example on my platform (Fedora 25 x86-64), 'strace cat .' outputs the line 'open(".", O_RDONLY) = 3'.on GNU/Linux open() on a directory returns -1 and sets errno to EISDIR.
[Prev in Thread] | Current Thread | [Next in Thread] |