This patch add error checking stubs where results are ignored. Example: when calling getcwd, results aren't checked. JP