projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more fmemopen null termination fixes
[oweals/musl.git]
/
src
/
string
/
strncpy.c
1
#include <string.h>
2
3
char *__stpncpy(char *, const char *, size_t);
4
5
char *strncpy(char *d, const char *s, size_t n)
6
{
7
__stpncpy(d, s, n);
8
return d;
9
}