Back to index

glibc  2.9
mig_strncpy.c
Go to the documentation of this file.
00001 /* Silly pointless function MiG needs.  */
00002 
00003 #include <mach.h>
00004 #include <string.h>
00005 
00006 vm_size_t
00007 __mig_strncpy (char *dst, const char *src, vm_size_t len)
00008 {
00009   return __stpncpy (dst, src, len) - dst;
00010 }
00011 weak_alias (__mig_strncpy, mig_strncpy)