gfs_chdir - change working directory
char *gfs_chdir (const char * gfarm_url);
gfs_chdir() changes the current working directory to that specified by
NULL The function terminated successfully.
Insufficient memory was available.
User authentication failed when connecting to gfmd(8).
gfarm_url points outside your accessible address space.
Directory does not exist.
A component of the path prefix is not a directory.
Others An error except the above occurred. The reason is shown by its