glibc - tmpfs - readdir

Alain PORTAL aportal at univ-montp2.fr
Thu Jan 19 10:41:52 UTC 2006


Hi,

Le Jeudi 19 Janvier 2006 10:58, Jochen Schlick a écrit :
> hi,
>
> i have an application which calls readdir(3) for
> accessing directories in tmpfs. after several hours
> the readdir call returns sometimes with einval. under
> which circumstances can readdir(3) produce einval ?

Are you sure it is readdir(3) and not readdir(2) ?

It seems there is only one return value for readdir(3): EBADF.

But readdir(2) have a EINVAL return value.
Man page say: "EINVAL: Result buffer is too small."

Regards,
Alain.
-- 
Les pages de manuel Linux en français :
http://manpagesfr.free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060119/88b4d5ad/attachment.sig>


More information about the fedora-devel-list mailing list