parrotcode: File PMC | |
Contents | PMCs |
src/pmc/file.pmc - File PMC
File
is a singleton class which provides access to File functions.
void *get_pointer()
void set_pointer(void *ptr)
INTVAL is_dir(STRING *path)
INTVAL is_file(STRING *path)
INTVAL is_link(STRING *path)
void copy(STRING *from, STRING *to)
from
to the path to
.void rename(STRING *from, STRING *to)
from
to the path to
. stat(2), rename(2)
|