mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
12 lines
237 B
C
12 lines
237 B
C
|
/* Silly pointless function MiG needs. */
|
||
|
|
||
|
#include <mach.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
vm_size_t
|
||
|
__mig_strncpy (char *dst, const char *src, vm_size_t len)
|
||
|
{
|
||
|
return __stpncpy (dst, src, len) - dst;
|
||
|
}
|
||
|
weak_alias (__mig_strncpy, mig_strncpy)
|