repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't use .Xo/.Xc. Fix date format.
[netbsd-mini2440.git]
/
regress
/
lib
/
libc
/
ssp
/
memcpy
/
memcpy.c
blob
68d6c9fcf2b41c25cb1952678d53c1f1103491ef
1
#include <stdio.h>
2
#include <string.h>
3
#include <stdlib.h>
4
5
int
6
main
(
int
argc
,
char
*
argv
[])
7
{
8
char
b
[
10
];
9
int
len
=
atoi
(
argv
[
1
]);
10
(
void
)
memcpy
(
b
,
"1020202020202"
,
len
);
11
12
(
void
)
printf
(
"%*.*s
\n
"
,
len
,
len
,
b
);
13
return
0
;
14
}