Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
sli.c File Reference
Standard Library Interface. More...
Go to the source code of this file.
Functions | |
void * | sli_memcpy (unsigned char *to, unsigned char const *from, unsigned int n) |
Copies a block of memory in RAM. | |
int | sli_strlen (char const *s) |
Obtain string length. | |
int | sli_strcmp (char const *s1, char const *s2) |
Compares two strings. | |
int | sli_strncmp (char const *s1, char const *s2, unsigned int n) |
Compare strings for a specific length. | |
void | sli_memset (unsigned char *dest, char const val, unsigned int n) |
Copy a value repeatedly into a block of memory. |
Detailed Description
Standard Library Interface.
PyMite requires a few functions from a few different standard C libraries (memory, string, etc).
Definition in file sli.c.
Function Documentation
void* sli_memcpy | ( | unsigned char * | to, |
unsigned char const * | from, | ||
unsigned int | n | ||
) |
void sli_memset | ( | unsigned char * | dest, |
const char | val, | ||
unsigned int | n | ||
) |
int sli_strcmp | ( | char const * | s1, |
char const * | s2 | ||
) |
int sli_strlen | ( | char const * | s ) |
int sli_strncmp | ( | char const * | s1, |
char const * | s2, | ||
unsigned int | n | ||
) |
Generated on Tue Jul 12 2022 17:07:01 by
