At Sun, 20 May 2012 10:39:02 -0400, Christoph Hellwig wrote: > > On Sun, May 20, 2012 at 05:25:41PM +0900, MORITA Kazutaka wrote: > > Is it better to use stat() instead of open() and close()? > > or simplify access(2) Ah yes, it's better.