Parent Directory
|
Revision Log
|
Patch
revision 50 by rakinar2, Thu Aug 15 18:10:51 2024 UTC | revision 51 by rakinar2, Fri Aug 16 18:34:43 2024 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #ifndef PLIBC_STRING_H | #ifndef PLIBC_STRING_H |
2 | #define PLIBC_STRING_H | #define PLIBC_STRING_H |
3 | ||
4 | #include <stddef.h> | #include "stddef.h" |
5 | ||
6 | size_t | size_t strlen (const char *str); |
7 | strlen (const char *str) | const char *strerror (int errnum); |
8 | { | void *memcpy (void *dest, const void *src, size_t n); |
size_t len = 0; | ||
while (str[len]) | ||
len++; | ||
return len; | ||
} | ||
9 | ||
10 | #endif /* PLIBC_STRING_H */ | #endif /* PLIBC_STRING_H */ |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |