|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
POSIX wrapper for FatFS. More...
Go to the source code of this file.
Functions | |
| MEMSPACE void | posix_help (int full) |
| MEMSPACE int | posix_tests (int argc, char *argv[]) |
| POSIX tests. More... | |
| MEMSPACE long | cat (char *name, int dopage) |
| Display the contents of a file. More... | |
| MEMSPACE long | copy (char *from, char *to) |
| Copy a file. More... | |
| MEMSPACE int | hexdump (char *name, int dopage) |
| MEMSPACE int | setpage (int count) |
| MEMSPACE int | testpage (int count) |
| Used to page output of functions like cat, hexdump, etc. More... | |
| MEMSPACE int | ls_info (char *name, int verbose) |
| list one file More... | |
| MEMSPACE int | ls (char *name, int verbose) |
| Directory listing. More... | |
| MEMSPACE long | logfile (char *name, char *str) |
| MEMSPACE uint16_t | sum (char *name) |
| MEMSPACE long | upload (char *name) |
POSIX wrapper for FatFS.
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file posix_tests.h.
| MEMSPACE long cat | ( | char * | name, |
| int | dopage | ||
| ) |
Display the contents of a file.
| [in] | name | file name. |
| [in] | option | –p page display |
Definition at line 355 of file posix_tests.c.
Referenced by posix_tests().
| MEMSPACE long copy | ( | char * | from, |
| char * | to | ||
| ) |
Copy a file.
| [in] | from | source file. |
| [in] | to | destination file. |
Definition at line 398 of file posix_tests.c.
Referenced by posix_tests().
| MEMSPACE int hexdump | ( | char * | name, |
| int | dopage | ||
| ) |
Referenced by posix_tests().
| MEMSPACE long logfile | ( | char * | name, |
| char * | str | ||
| ) |
Referenced by posix_tests().
| MEMSPACE int ls | ( | char * | name, |
| int | verbose | ||
| ) |
Directory listing.
| [in] | path | file name or directory |
| [in] | option | -l for detail |
Definition at line 614 of file posix_tests.c.
Referenced by posix_tests().
| MEMSPACE int ls_info | ( | char * | name, |
| int | verbose | ||
| ) |
list one file
| [in] | path | file name or directory |
| [in] | verbose | 1 = detail, 0 = name only |
Definition at line 562 of file posix_tests.c.
Referenced by ls().
| MEMSPACE void posix_help | ( | int | full | ) |
Definition at line 46 of file posix_tests.c.
Referenced by help(), and posix_tests().
| MEMSPACE int posix_tests | ( | int | argc, |
| char * | argv[] | ||
| ) |
POSIX tests.
| [in] | agc | cont of arguments |
Definition at line 93 of file posix_tests.c.
Referenced by user_task().
| MEMSPACE int setpage | ( | int | count | ) |
Definition at line 521 of file posix_tests.c.
Referenced by posix_tests().
| MEMSPACE uint16_t sum | ( | char * | name | ) |
Referenced by dir_find(), dir_read(), dir_register(), f_mkfs(), Leap_Days_Since_1900(), MatMul(), posix_tests(), put_lfn(), and sum_sfn().
| MEMSPACE int testpage | ( | int | count | ) |
Used to page output of functions like cat, hexdump, etc.
| [in] | *name | file to hexdump @retrun -1 = quit, return count or 0 at new page |
Definition at line 532 of file posix_tests.c.
Referenced by cat().
| MEMSPACE long upload | ( | char * | name | ) |
Referenced by posix_tests().
1.8.17