#include "../bob64/app.h" static void write_text(const char *text) { usize length=0; while(text[length])length++; (void)bob64_app_write(text,length); } static void write_size(u64 value) { char digits[20]; usize count=0; do { digits[count++]=(char)('0'+value%10); value/=10; } while(value&&countStructSize!=sizeof(*startup)|| startup->AbiVersion!=BOB64_APP_ABI_VERSION)return -1; count=bob64_app_list_files(files,BOB64_SYSCALL_MAX_FILES); if(count<0) { write_text("cannot list files\n"); return count; } for(s64 i=0;i