Next: cpg-ref-SP_get_dispatch, Previous: cpg-ref-SP_get_code, Up: cpg-bif [Contents][Index]
SP_get_current_dir()
#include <sicstus/sicstus.h> char * SP_get_current_dir(void);
Obtains an encoded string containing the absolute, slash (/
)
terminated, path to the current working directory. The return value is
allocated with SP_malloc
and should be freed with
SP_free
.
The string on success and NULL
on error.
cpg-ref-SP_set_current_dir. OS File System.