PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
strncpy.c
1#define SYSCLIB_DISABLE_BUILTINS
2#include <sysclib.h>
3
4char *__stpncpy(char *restrict d, const char *restrict s, size_t n);
5
6char *strncpy(char *restrict d, const char *restrict s, size_t n)
7{
8 __stpncpy(d, s, n);
9 return d;
10}