#include <string.h>#include <debug.h>Go to the source code of this file.
Functions | |
| void * | memcpy (void *dst_, const void *src_, size_t size) |
| void * | memmove (void *dst_, const void *src_, size_t size) |
| int | memcmp (const void *a_, const void *b_, size_t size) |
| int | strcmp (const char *a_, const char *b_) |
| void * | memchr (const void *block_, int ch_, size_t size) |
| char * | strchr (const char *string, int c_) |
| size_t | strcspn (const char *string, const char *stop) |
| char * | strpbrk (const char *string, const char *stop) |
| char * | strrchr (const char *string, int c_) |
| size_t | strspn (const char *string, const char *skip) |
| char * | strstr (const char *haystack, const char *needle) |
| char * | strtok_r (char *s, const char *delimiters, char **save_ptr) |
| void * | memset (void *dst_, int value, size_t size) |
| size_t | strlen (const char *string) |
| size_t | strnlen (const char *string, size_t maxlen) |
| size_t | strlcpy (char *dst, const char *src, size_t size) |
| size_t | strlcat (char *dst, const char *src, size_t size) |
| void* memchr | ( | const void * | block_, | |
| int | ch_, | |||
| size_t | size | |||
| ) |
| int memcmp | ( | const void * | a_, | |
| const void * | b_, | |||
| size_t | size | |||
| ) |
Definition at line 54 of file string.c.
Referenced by compare_bytes(), load(), main(), strip_antisocial_prefixes(), strstr(), test_main(), and ustar_parse_header().
| void* memcpy | ( | void * | dst_, | |
| const void * | src_, | |||
| size_t | size | |||
| ) |
Definition at line 8 of file string.c.
References ASSERT, dst, and NULL.
Referenced by inode_read_at(), inode_write_at(), main(), msc_io(), pagedir_create(), pci_probe(), prepend(), realloc(), strlcat(), strlcpy(), test_main(), and uhci_remove_stalled().
| void* memmove | ( | void * | dst_, | |
| const void * | src_, | |||
| size_t | size | |||
| ) |
| void* memset | ( | void * | dst_, | |
| int | value, | |||
| size_t | size | |||
| ) |
Definition at line 280 of file string.c.
References ASSERT, dst, and NULL.
Referenced by archive_ordinary_file(), bss_init(), calloc(), free(), fsutil_append(), fsutil_extract(), init_thread(), inode_write_at(), load_segment(), main(), msc_get_geometry(), msc_io(), palloc_free_multiple(), palloc_get_multiple(), relay(), start_process(), test_main(), test_single(), uhci_create_chan(), uhci_create_info(), uhci_tx_pkt_now(), uhci_tx_pkt_wait(), usb_configure_default(), and ustar_make_header().
| char* strchr | ( | const char * | string, | |
| int | c_ | |||
| ) |
Definition at line 114 of file string.c.
Referenced by read_command_line(), strcspn(), strip_antisocial_prefixes(), strpbrk(), strspn(), and strtok_r().
| int strcmp | ( | const char * | a_, | |
| const char * | b_ | |||
| ) |
Definition at line 74 of file string.c.
Referenced by block_get_by_name(), checkf(), lookup(), main(), parse_options(), run_actions(), run_test(), strip_antisocial_prefixes(), and test_main().
| size_t strcspn | ( | const char * | string, | |
| const char * | stop | |||
| ) |
Definition at line 327 of file string.c.
References ASSERT, memcpy(), NULL, and strlen().
Referenced by block_register(), copy_string_across_boundary(), dir_add(), dir_readdir(), getcwd(), init_thread(), make_tar_archive(), process_execute(), usb_get_string(), ustar_make_header(), and vmsg().
| size_t strlen | ( | const char * | string | ) |
Definition at line 294 of file string.c.
Referenced by archive_directory(), copy_string_across_boundary(), dir_add(), main(), map_key(), prepend(), puts(), strlcat(), strlcpy(), strstr(), test_main(), usb_get_string(), ustar_make_header(), and vmsg().
| char* strpbrk | ( | const char * | string, | |
| const char * | stop | |||
| ) |
| char* strrchr | ( | const char * | string, | |
| int | c_ | |||
| ) |
| size_t strspn | ( | const char * | string, | |
| const char * | skip | |||
| ) |
| char* strstr | ( | const char * | haystack, | |
| const char * | needle | |||
| ) |
| char* strtok_r | ( | char * | s, | |
| const char * | delimiters, | |||
| char ** | save_ptr | |||
| ) |
1.5.6