#include <types.h>


Go to the source code of this file.
Functions | |
| void * | memcpy (void *dest, const void *src, size_t n) |
| Copy memory area. | |
| void * | memset (void *s, int c, size_t n) |
| Initialize memory area. | |
| void * | memchr (const void *s, int c, size_t n) |
| Search a memory area for a character. | |
| int | strcmp (const char *s1, const char *s2) |
| Compare the two strings s1 and s2. | |
| size_t | strlen (const char *s) |
| Calculate the length of the string s. | |
| char * | strchr (const char *s, int c) |
| Locate the character c in the string s. | |
Definition in file string.h.
| void* memchr | ( | const void * | s, | |
| int | c, | |||
| size_t | n | |||
| ) |
Search a memory area for a character.
Scan the memory area from s to s + n (non-inclusive) for the occurrence of c.
| s | Pointer to start of memory area. | |
| c | Character to look for. | |
| n | Size of memory area. |
| void* memcpy | ( | void * | dest, | |
| const void * | src, | |||
| size_t | n | |||
| ) |
Copy memory area.
Copy n bytes from src to dest.
| dest | Pointer to the destination memory area. | |
| src | Pointer to the source memory area. | |
| n | The number of bytes to copy. |
Referenced by console_drv_write(), and udc_ep0_write_sync().
| void* memset | ( | void * | s, | |
| int | c, | |||
| size_t | n | |||
| ) |
Initialize memory area.
Fill the first n bytes of the memory area s with the constant byte value c.
| s | Pointer to the memory area to be filled. | |
| c | The byte value to use as fill value. | |
| n | The number of bytes to initialize. |
Referenced by aesblk_alloc_req(), block_copy_alloc(), dummy_blkdev_init(), journal_init(), sdmmc_blkdev_init_new(), sdmmc_mcihost_init(), sdmmc_probe_init(), and usb_func_add_config().
| char* strchr | ( | const char * | s, | |
| int | c | |||
| ) |
Locate the character c in the string s.
| s | A NUL-terminated string. | |
| c | The character to look for. |
| int strcmp | ( | const char * | s1, | |
| const char * | s2 | |||
| ) |
Compare the two strings s1 and s2.
| s1 | A NUL-terminated string. | |
| s2 | Another NUL-terminated string. |
| <0 | s1 is less than s2. | |
| 0 | s1 equals s2. | |
| >0 | s1 is greater than s2. |
| size_t strlen | ( | const char * | s | ) |
Calculate the length of the string s.
| s | A NUL-terminated string. |
Referenced by console_drv_putstr().
1.5.8