![]() |
YAP 7.1.0
|
absolute file name: C ut in a different light More...
Go to the source code of this file.
Macros | |
#define | ABSOLUTE_FILE_NAME_DEFS() |
#define | PAR(x, y, z) z |
#define | PAR(x, y, z) { x, y, z } |
Typedefs | |
typedef enum ABSOLUTE_FILE_NAME_enum_ | absolute_file_name_choices_t |
Enumerations | |
enum | ABSOLUTE_FILE_NAME_enum_ { ABSOLUTE_FILE_NAME_DEFS =() } |
Functions | |
const char * | Yap_AbsoluteFile (const char *spec, bool ok) |
generate absolute path, if ok first expand SICStus Prolog style More... | |
bool | Yap_IsAbsolutePath (const char *p0, bool expand) |
const char * | Yap_GetFileName (Term t USES_REGS) |
void | Yap_InitAbsfPreds (void) |
absolute file name: C ut in a different light
lo *
Definition in file absf.c.
#define ABSOLUTE_FILE_NAME_DEFS | ( | ) |
const char * Yap_AbsoluteFile | ( | const char * | spec, |
bool | ok | ||
) |
generate absolute path, if ok first expand SICStus Prolog style
[in] | spec | the file path, including ~ and $ |
[in] | ok | where to process ~ and $ |
spec gothe original spec;
rc0 may be an outout buffer rc1 the internal buffer
PlExpandVars
spec gothe original spec; rc1 the internal buffer