projects
/
libreriscv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update fosdem 2024 ddffirst strncpy section on slides
[libreriscv.git]
/
conferences
/
fosdem2024
/
fosdem2024_ddffirst
/
strncpy.c
1
for
(
i
=
0
;
i
<
n
&&
src
[
i
]!=
0
;
i
++)
dest
[
i
] =
src
[
i
];
2
for
( ;
i
<
n
;
i
++)
dest
[
i
] =
chr
(
0
);