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
1.7.2