Updated return values to Linux/BSD from Unix