1 #ifndef _POSIX_TESTS_H_ 2 #define _POSIX_TESTS_H_ MEMSPACE uint16_t sum(char *name)
sum of a file with 16bit hex and integer results
MEMSPACE long cat(char *name, int dopage)
Display the contents of a file.
MEMSPACE long logfile(char *name, char *str)
Log string to a file.
MEMSPACE int posix_tests(int argc, char *argv[])
POSIX tests.
MEMSPACE int ls(char *name, int verbose)
Directory listing.
MEMSPACE int hexdump(char *name, int dopage)
hex listing of file with paging, "q" exits
MEMSPACE int testpage(int count)
Used to page output of functions like cat, hexdump, etc.
MEMSPACE void posix_help(int full)
MEMSPACE long upload(char *name)
Capture an ASCII file to sdcard First blank line exits capture.
MEMSPACE long copy(char *from, char *to)
Copy a file.
MEMSPACE int setpage(int count)
MEMSPACE int ls_info(char *name, int verbose)
list one file