Initial code for returning errno in a user passed structure.