Browse Source

Added in API documentation concerning the (seemingly undocumented) process.chdir() method, complementary to process.cwd()

v0.7.4-release
Ryan McGrath 15 years ago
committed by Ryan Dahl
parent
commit
164ce76e94
  1. 3
      doc/api.txt

3
doc/api.txt

@ -130,6 +130,9 @@ success code 0.
+process.cwd()+:: +process.cwd()+::
Returns the current working directory of the process. Returns the current working directory of the process.
+process.chdir(directory)+::
Changes the current working directory of the process.
+process.umask(mask)+ :: +process.umask(mask)+ ::
Sets the process's file mode creation mask. Child processes inherit the mask Sets the process's file mode creation mask. Child processes inherit the mask
from the parent process. from the parent process.

Loading…
Cancel
Save