Return Codes most things have a return code for a reason check it, always, and act! just bailing out most of the time err(3) is your friend