Pseudo-libC header.
More...
Go to the source code of this file.
|
void * | memset (void *s, int c, size_t n) |
| Sets a memory space with a single, fixed value. More...
|
|
void * | strcpy (char *dest, const char *src) |
| String copy. More...
|
|
void * | memcpy (void *destination, const void *source, size_t num) |
| Copies data from source to destination. More...
|
|
char * | strcat (char *dest, const char *source) |
| Concatenates a source string into a destination string, assuming the destination string buffer is large enough. More...
|
|
int | strlen (char *str) |
| String length. More...
|
|
◆ size_t
◆ memcpy()
memcpy |
( |
void * |
destination, |
|
|
const void * |
source, |
|
|
size_t |
num |
|
) |
| |
Copies data from source to destination.
- Parameters
-
destination | Destination address |
source | Source address |
num | Size of data to copy |
- Returns
- Pointer to the destination address
◆ memset()
memset |
( |
void * |
ptr, |
|
|
int |
value, |
|
|
size_t |
num |
|
) |
| |
Sets a memory space with a single, fixed value.
- Parameters
-
ptr | Pointer to the memory space |
value | The value to write |
num | The amount of memory to write to |
- Returns
- Pointer to the memory space
◆ strcat()
strcat |
( |
char * |
dest, |
|
|
const char * |
source |
|
) |
| |
Concatenates a source string into a destination string, assuming the destination string buffer is large enough.
- Parameters
-
dest | Destination string buffer |
source | Source string buffer |
- Returns
- Destination string buffer, containing the concatenated strings.
◆ strcpy()
void * strcpy |
( |
char * |
dest, |
|
|
const char * |
src |
|
) |
| |
◆ strlen()