Added documentation on the new built-in predicates cd/0, pwd/0, and ls/0.

This commit is contained in:
Paulo Moura 2010-11-23 00:25:33 +00:00
parent 907d10128d
commit fea1ec1941

View File

@ -6733,6 +6733,12 @@ Operating System functionality:
@cnindex cd/1
Changes the current directory (on UNIX environments).
@item cd
@findex cd/0
@snindex cd/0
@cnindex cd/0
Changes the current directory (on UNIX environments) to the user's home directory.
@item environ(+@var{E},-@var{S})
@findex environ/2
@syindex environ/2
@ -6749,6 +6755,18 @@ Changes the current directory (on UNIX environments).
Unify the current directory, represented as an atom, with the argument
@var{D}.
@item pwd
@findex pwd/0
@snindex pwd/0
@cnindex pwd/0
Prints the current directory.
@item ls
@findex ls/0
@snindex ls/0
@cnindex ls/0
Prints a list of all files in the current directory.
@item putenv(+@var{E},+@var{S})
@findex putenv/2
@snindex putenv/2