Check return values, when calling C-functions :)