]> git.ipfire.org Git - thirdparty/glibc.git/blame - mach/mig_strncpy.c
posix/glob.c: update from gnulib
[thirdparty/glibc.git] / mach / mig_strncpy.c
CommitLineData
28f540f4
RM
1/* Silly pointless function MiG needs. */
2
3#include <mach.h>
4#include <string.h>
5
6vm_size_t
7__mig_strncpy (char *dst, const char *src, vm_size_t len)
8{
9 return __stpncpy (dst, src, len) - dst;
10}
11weak_alias (__mig_strncpy, mig_strncpy)