glibc/mach/mig_strncpy.c

12 lines
237 B
C
Raw Normal View History

1995-02-18 09:27:10 +08:00
/* 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)