Next: , Previous: , Up: cpg-bif   [Contents][Index]


12.3.92 SP_set_current_dir()

Synopsis

#include <sicstus/sicstus.h>

spio_t_error_code
SP_set_current_dir(char const *dir);

Makes a directory pointed to by dir to become the current working directory. path should be an encoded string.

Arguments

dir

Name of the directory to become current.

Return Value

On success, SPIO_S_NOERR or some other success code is returned.

On failure, an error code is returned and the working directory is not changed.

See Also

cpg-ref-SP_get_current_dir. OS File System.


Send feedback on this subject.