If i remember well, there is a variable named errno, this have the
error after a system call fail, if you need a string of the error, you
can use perror or strerror.
Cheers,
On 5 Oct 2004 19:54:00 -0000, Curious Student
<est...@re...> wrote:
> In C, if fopen fails, is there a way to know why?
>=20
> Thanks!
> Sathyaish
>=20
--=20
Carlos Ch=E1vez
|