#include <stddef.h>
Go to the source code of this file.
Defines | |
#define | strcpy dont_use_strcpy_use_strlcpy |
#define | strncpy dont_use_strncpy_use_strlcpy |
#define | strcat dont_use_strcat_use_strlcat |
#define | strncat dont_use_strncat_use_strlcat |
#define | strtok dont_use_strtok_use_strtok_r |
Functions | |
void * | memcpy (void *, const void *, size_t) |
void * | memmove (void *, const void *, size_t) |
char * | strncat (char *, const char *, size_t) |
int | memcmp (const void *, const void *, size_t) |
int | strcmp (const char *, const char *) |
void * | memchr (const void *, int, size_t) |
char * | strchr (const char *, int) |
size_t | strcspn (const char *, const char *) |
char * | strpbrk (const char *, const char *) |
char * | strrchr (const char *, int) |
size_t | strspn (const char *, const char *) |
char * | strstr (const char *, const char *) |
void * | memset (void *, int, size_t) |
size_t | strlen (const char *) |
size_t | strlcpy (char *, const char *, size_t) |
size_t | strlcat (char *, const char *, size_t) |
char * | strtok_r (char *, const char *, char **) |
size_t | strnlen (const char *, size_t) |
#define strncpy dont_use_strncpy_use_strlcpy |
void* memchr | ( | const void * | , | |
int | , | |||
size_t | ||||
) |
int memcmp | ( | const void * | , | |
const void * | , | |||
size_t | ||||
) |
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 * | , | |
const void * | , | |||
size_t | ||||
) |
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 * | , | |
const void * | , | |||
size_t | ||||
) |
void* memset | ( | void * | , | |
int | , | |||
size_t | ||||
) |
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 * | , | |
int | ||||
) |
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 * | , | |
const char * | ||||
) |
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 * | , | |
const char * | ||||
) |
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 * | ) |
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* strncat | ( | char * | , | |
const char * | , | |||
size_t | ||||
) |
char* strpbrk | ( | const char * | , | |
const char * | ||||
) |
size_t strspn | ( | const char * | , | |
const char * | ||||
) |
char* strstr | ( | const char * | , | |
const char * | ||||
) |
char* strtok_r | ( | char * | , | |
const char * | , | |||
char ** | ||||
) |