Next: cpg-ref-SP_set_memalloc_hooks, Previous: cpg-ref-SP_set_argv, Up: cpg-bif [Contents][Index]
SP_set_current_dir()
#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.
Name of the directory to become current.
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.
cpg-ref-SP_get_current_dir. OS File System.