convert getresuid etc to have multiple return args see #103