[cs631apue] speak about error handling

zding4 zding4 at stevens.edu
Wed Sep 17 23:03:16 EDT 2014


Hi everyone,

Speak about error handling, when I read the code.
There are a bunch of functions that can output or display error 
messages.
fprintf, strerror, perror, warn, err, etc.
How to choose them? Right now I'm using perror in my hw2 which can let 
you write
a prompt message and errno message.

Zhizhuo


More information about the cs631apue mailing list