|
HP85 GPIB Disk Emulator
1.0
HP85GPIBDiskEmulator
|
Go to the source code of this file.
Functions | |
| MEMSPACE int WEAK_ATR | isdigit (int c) |
| test if a character is a digit More... | |
| MEMSPACE int WEAK_ATR | isupper (int c) |
| Is a character upper case. More... | |
| MEMSPACE int WEAK_ATR | islower (int c) |
| MEMSPACE int WEAK_ATR | tolower (int c) |
| Convert character to lower case, only if it is upper case. More... | |
| MEMSPACE int WEAK_ATR | toupper (int c) |
| Convert character to upper case, only if it is lower case. More... | |
| MEMSPACE void * | memchr (const void *str, int c, size_t size) |
| find a character in a string of maximum size More... | |
| MEMSPACE size_t WEAK_ATR | strlen (const char *str) |
| String Length. More... | |
| MEMSPACE WEAK_ATR char * | strcpy (char *dest, const char *src) |
| copy a string More... | |
| MEMSPACE WEAK_ATR char * | strncpy (char *dest, const char *src, size_t size) |
| copy a string of at most N characters More... | |
| MEMSPACE WEAK_ATR char * | strcat (char *dest, const char *src) |
| Append string. More... | |
| MEMSPACE WEAK_ATR char * | strncat (char *dest, const char *src, size_t max) |
| Append string of at most N bytes from src. More... | |
| MEMSPACE void WEAK_ATR | reverse (char *str) |
| Reverse a string in place Example: abcdef -> fedcba. More... | |
| MEMSPACE void WEAK_ATR | strupper (char *str) |
| UPPERCASE a string. More... | |
| MEMSPACE int WEAK_ATR | strcmp (const char *str, const char *pat) |
| Compare two strings. More... | |
| MEMSPACE int WEAK_ATR | strncmp (const char *str, const char *pat, size_t len) |
| Compare two strings maximum len bytes in size. More... | |
| MEMSPACE int WEAK_ATR | strcasecmp (const char *str, const char *pat) |
| Compare two strings without case. More... | |
| MEMSPACE int WEAK_ATR | strncasecmp (const char *str, const char *pat, size_t len) |
| Compare two strings without case maximum len bytes in size. More... | |
| MEMSPACE char * | strnalloc (char *str, int len) |
| Allocate space for string with maximum size. More... | |
| MEMSPACE char * | stralloc (char *str) |
| Allocate space for string. More... | |
test if a character is a digit
undo any existing macros
| [in] | c | character |
Definition at line 40 of file stringsup.c.
| [in] | c | character. |
Definition at line 74 of file stringsup.c.
Referenced by toupper().
Is a character upper case.
| [in] | c | character. |
Definition at line 57 of file stringsup.c.
Referenced by tolower().
find a character in a string of maximum size
| [in] | str | string |
| [in] | c | character |
| [in] | size | string length to search |
Definition at line 122 of file stringsup.c.
Reverse a string in place Example: abcdef -> fedcba.
| [in] | str | string |
Definition at line 233 of file stringsup.c.
| MEMSPACE char* stralloc | ( | char * | str | ) |
Allocate space for string.
| [in] | str | user string. |
Definition at line 406 of file stringsup.c.
Referenced by hpdir_set_device(), mount(), Read_Config(), and SS80_Set_Defaults().
Compare two strings without case.
| [in] | str | string to match. |
| [in] | pat | pattern to compare. |
Definition at line 328 of file stringsup.c.
Referenced by lif_find_file(), MATCHI(), and td02lif().
Append string.
| [in] | dest | string |
| [in] | src | string |
Definition at line 199 of file stringsup.c.
Referenced by gpib_trace_display(), hpdir_find_drive(), lif_add_ascii_file_as_e010_wrapper(), and ls().
Compare two strings.
| [in] | str | string to match. |
| [in] | pat | pattern to compare. |
Definition at line 278 of file stringsup.c.
Referenced by MATCH().
copy a string
| [in] | dest | destination string |
| [in] | src | source string |
Definition at line 160 of file stringsup.c.
Referenced by fatfs_ls(), fatfs_scan_files(), fatfs_status(), lif_lifbcd2timestr(), lif_stralloc(), ls(), mmc_init(), stralloc(), and strcat().
String Length.
| [in] | str | string |
Definition at line 144 of file stringsup.c.
Referenced by cat(), fatfs_scan_files(), get_line(), gpib_trace_display(), hpdir_find_drive(), lif_ascii_string_to_e010(), lif_find_file(), lif_fixname(), lif_stralloc(), ls(), MATCH(), MATCH_LEN(), MATCHI(), MATCHI_LEN(), mctime(), readdir(), reverse(), stralloc(), td02lif(), token(), and trim_tail().
| MEMSPACE char* strnalloc | ( | char * | str, |
| int | len | ||
| ) |
Allocate space for string with maximum size.
| [in] | str | user string. |
| [in] | len | maximum string length. |
Definition at line 381 of file stringsup.c.
Compare two strings without case maximum len bytes in size.
| [in] | str | string to match. |
| [in] | pat | pattern to compare. |
| [in] | len | maximum string length for compare |
Definition at line 352 of file stringsup.c.
Referenced by MATCHI_LEN().
Append string of at most N bytes from src.
| [in] | dest | string |
| [in] | src | string |
Definition at line 215 of file stringsup.c.
Compare two strings maximum len bytes in size.
| [in] | str | string to match. |
| [in] | pat | pattern to compare. |
| [in] | len | maximum string length for compare |
Definition at line 303 of file stringsup.c.
Referenced by MATCH_LEN(), and token().
copy a string of at most N characters
| [in] | dest | destination string |
| [in] | src | source string |
| [in] | size | maximum destination size |
Definition at line 179 of file stringsup.c.
Referenced by hpdir_find_drive(), readdir(), strerror_r(), strnalloc(), and strncat().
UPPERCASE a string.
| [in] | str | string |
Definition at line 256 of file stringsup.c.
Convert character to lower case, only if it is upper case.
| [in] | c | character. |
Definition at line 91 of file stringsup.c.
Referenced by mkfs().
Convert character to upper case, only if it is lower case.
| [in] | c | character. |
Definition at line 108 of file stringsup.c.
Referenced by strcasecmp(), strncasecmp(), and strupper().
1.8.17