repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ARM: Use r10 instead of r9.
[glibc.git]
/
mach
/
mig_strncpy.c
blob
b0c001d7756f0a5df55983ac7cb4b2d16cf38331
1
/* Silly pointless function MiG needs. */
2
3
#include <mach.h>
4
#include <string.h>
5
6
vm_size_t
7
__mig_strncpy
(
char
*
dst
,
const char
*
src
,
vm_size_t len
)
8
{
9
return
__stpncpy
(
dst
,
src
,
len
) -
dst
;
10
}
11
weak_alias
(
__mig_strncpy
,
mig_strncpy
)