diff --git a/doc/api.txt b/doc/api.txt index 527f703b4f..c5a4d1d471 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -130,6 +130,9 @@ success code 0. +process.cwd()+:: Returns the current working directory of the process. ++process.chdir(directory)+:: +Changes the current working directory of the process. + +process.umask(mask)+ :: Sets the process's file mode creation mask. Child processes inherit the mask from the parent process.