Load TAR archive + run raw user program
This commit is contained in:
@@ -98,4 +98,12 @@ int strncmp(const char* s1, const char* s2, size_t n)
|
||||
else {
|
||||
return ( *(unsigned char *)s1 - *(unsigned char *)s2 );
|
||||
}
|
||||
}
|
||||
|
||||
// BSD implementation
|
||||
size_t strlen(const char* str)
|
||||
{
|
||||
const char* s;
|
||||
for (s = str; *s; ++s);
|
||||
return (s - str);
|
||||
}
|
||||
Reference in New Issue
Block a user