Are you ok with the following, or do you want each variable initialization on its own line?

errorno = r = path = NULL;