Interface: string functions. More...
#include <mem.h>
Go to the source code of this file.
Functions | |
void * | memcpy (void *dest, const void *src, size_t size) |
copy memory block from src to dest. | |
void * | memset (void *s, int c, size_t n) |
fill memory block with a byte value. | |
char * | strcpy (char *dest, const char *src) |
Copy null-terminated string from src to dest. | |
int | strlen (const char *s) |
Determine string length. | |
int | strcmp (const char *s1, const char *s2) |
Compare two strings. |
Interface: string functions.
Definition in file string.h.
void* memcpy | ( | void * | dest, |
const void * | src, | ||
size_t | size | ||
) |
copy memory block from src to dest.
dest | destination |
src | source |
size | number of bytes to copy |
Referenced by kmain().
void* memset | ( | void * | s, |
int | c, | ||
size_t | n | ||
) |
fill memory block with a byte value.
s | start |
c | byte fill value |
n | number of bytes to fill |
Referenced by kmain(), and lcd_init().
int strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Compare two strings.
s1 | first string |
s2 | second string |
char* strcpy | ( | char * | dest, |
const char * | src | ||
) |
Copy null-terminated string from src to dest.
src | source |
dest | destination |
int strlen | ( | const char * | s | ) |
Determine string length.
s | string |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |