Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

util_chdir2path() Function

The util_chdir2path function changes the current working directory. Because a server process can service multiple requests concurrently but has only a single current working directory, this function should not be used.


int util_chdir2path(char *path);

Return Values

0 if the directory change succeeds, or -1 if the directory can not be changed.


char *path is the name of a directory.

The parameter must be a writable string.