>Look, I think custom error codes can be used but only if there is >absolutely no way to use standart error codes, which is happening >quite rarely. If you use custom error codes then strerror() doesn't work. -Shawn