1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00

import KernelEx-4.5-RC1

This commit is contained in:
UzixLS
2018-11-03 16:22:04 +03:00
parent 2e7f4ba60c
commit 39526d0a36
47 changed files with 936 additions and 364 deletions

16
kexcrt/strdup.c Executable file
View File

@ -0,0 +1,16 @@
#include <stdlib.h>
#include <string.h>
char *strdup(const char *str)
{
char *newstr;
if (!str)
return NULL;
newstr = (char *) malloc(strlen(str) + 1);
if (newstr)
strcpy(newstr, str);
return newstr;
}