Is it possible that win32's _open()
return valid FD that is negative ?
In other words, is comparison
if( (fd=_open(...)) < 0) error...;
as safe as form
if( (fd=_open(...)) == -1) error...;
?
I am asking because all msdn examples
are in form if(fd == -1 )
, and never form if( fd < 0)
.