printing error messages
- From: gsa <hsggwk@xxxxxxxxx>
- Date: Fri, 30 May 2008 09:07:27 -0700 (PDT)
Hi,
I am new to C so please bear with my stupid questions. I am
trying to open a file to write, but the code complains that it is
unable to do so. How do I get C to print the reason it is failing?
Something like the $! function in perl. Thanks a lot for all your
help.
.
- Follow-Ups:
- Re: printing error messages
- From: Eric Sosman
- Re: printing error messages
- From: Walter Roberson
- Re: printing error messages
- From: dj3vande
- Re: printing error messages
- Prev by Date: Re: Determine the size of malloc
- Next by Date: Re: c compilation - gcc vs visual c
- Previous by thread: error handlling in recursive function
- Next by thread: Re: printing error messages
- Index(es):
Relevant Pages
|