repo.or.cz
/
linux-2.6
/
next.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add port definition for mcf UART driver
[linux-2.6/next.git]
/
arch
/
blackfin
/
lib
/
strncpy.c
blob
1fecb5c71ffb21ec581d157b81ef2d2d8776bc8c
1
#include <linux/types.h>
2
3
#define strncpy __inline_strncpy
4
#include <asm/string.h>
5
#undef strncpy
6
7
char
*
strncpy
(
char
*
dest
,
const char
*
src
,
size_t
n
)
8
{
9
return
__inline_strncpy
(
dest
,
src
,
n
);
10
}