#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
path should be an encoded string.
Name of the directory to become current.
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.