![]() | Fun 0.41.5 The programming language that makes You have fun |
Implements OP_OS_LIST_DIR to list entries in a directory. More...
Go to the source code of this file.
Functions | |
| free_value (pathv) | |
| if (path) | |
| push_value (vm, arr) | |
Variables | |
| case | OP_OS_LIST_DIR |
| char * | path = value_to_string_alloc(&pathv) |
| Value | arr = make_array_from_values(NULL, 0) |
| break | |
Implements OP_OS_LIST_DIR to list entries in a directory.
Behavior:
Errors:
Definition in file list_dir.c.
| free_value | ( | pathv | ) |
| if | ( | path | ) |
| push_value | ( | vm | , |
| arr | ) |
| Value arr = make_array_from_values(NULL, 0) |
Definition at line 28 of file list_dir.c.
| break |
Definition at line 58 of file list_dir.c.
| case OP_OS_LIST_DIR |
Definition at line 22 of file list_dir.c.
| char* path = value_to_string_alloc(&pathv) |
Definition at line 25 of file list_dir.c.