Added a C version of a path printer. Uses "getenv".