also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
11 lines
179 B
C
Vendored
11 lines
179 B
C
Vendored
#include <string.h>
|
|
|
|
char *strncat(char *restrict d, const char *restrict s, size_t n)
|
|
{
|
|
char *a = d;
|
|
d += strlen(d);
|
|
while (n && *s) n--, *d++ = *s++;
|
|
*d++ = 0;
|
|
return a;
|
|
}
|