Sun Java System Web Server 7.0 NSAPI Developer's Guide

util_chdir2path

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.

Syntax

int util_chdir2path(char *path);

Returns

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

Parameters

char *path is the name of a directory.

The parameter must be a writable string.