|
||
int chdir ( char *path )
char *path; // directory name
|
|
Synopsis |
#include "silver.h"
The chdir function changes the current working directory to the directory specified by path . The default drive is not changed.
|
Parameters |
path is a null-terminated string indicating the desired new working directory.
|
Return Value |
chdir returns 0 if the working directory was successfully changed. If an error occurs, chdir returns -1, and the system error variable errno is set to ENOENT .
|
Comments |
chdir does not modify the SilverScreen directories (as obtained by path_home , path_silver , path_drawing , path_exection , path_library).
|
See Also |