Re: Newbie's problem with fopen

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

 



Hi Andre,

When opendir fails, what is errno set to?

You can use errno to diagnose the problem.

The mnemonic identifier associated with the errno value is in errno.h header file.

That should tell you what went awry.

Note:  you seem to be failing to free the memory that opendir allocates.  Eventually, you will run out of heap.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux