In the NET+OS application software reference manual detailed return values are specified. The real returned code is often just: 0=success or -1=failed In the last case, where can I find the specified error code? The global variable ‘errno’ is always zero. Is the real error code compatible with function: “char *err_to_string(int err_num);” ? Regards, Arie de Muynck
I think you are looking for the getErrno() function from c:
I’ve run into this also. The release of NET+OS 5 that was shipped to me does not set errno ever. err_to_string() will print out a valid message when it’s passed an errno. The only problem with that of course is that errno will never get set.