At Wednesday 10/1/2008 21:15, you wrote:
> Can someone show me an example of how to use perror? For example,
>
>if((fp=fopen("file","wb"))==NULL
> perror() /* What goes into the char *string parameter */
>
>Bill
It's used for any custom message that precedes the actual error
message. You could put, for example,
perror("YIKES! I was trying to open a file, but ");
~Rick
>------------------------------------
>
>To unsubscribe, send a blank message to
><mailto:[EMAIL PROTECTED]>.Yahoo! Groups Links
>
>
>