|
From: Carlos C. <ca...@gm...> - 2004-10-05 20:10:53
|
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 |