#define ZPL_IMPLEMENTATION
#define ZPL_NANO
#include <zpl.h>
#include <string.h>


int main()
{
    zpl_string files;
    files = zpl_path_dirlist(zpl_heap(), "../misc", true);
    
    char *p=strtok(files, "\n");
    while (p) {
        printf("%s\n", p);
        p=strtok(NULL, "\n");
    }
    
    zpl_string_free(files);
    
    return 0;
}
