1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

initial import

This commit is contained in:
Roland McGrath
1995-02-18 01:27:10 +00:00
commit 28f540f45b
2263 changed files with 218361 additions and 0 deletions

11
mach/mig_strncpy.c Normal file
View File

@ -0,0 +1,11 @@
/* 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)