Define RCSW_CHECK_FD

Define Documentation

RCSW_CHECK_FD(fd)

If the descriptor fd is invalid (i.e. < 0), go to the error/bailout section for function (you must have a label called error in your function).