RETURN_ON_OPEN_FAILURE
if (exitOnFailure == RETURN_ON_OPEN_FAILURE)
tryOpen(inFD, name, O_RDWR, RETURN_ON_OPEN_FAILURE);