projects
/
dragonfly.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Import mdocml-1.13.1
[dragonfly.git]
/
contrib
/
mdocml
/
test-strlcpy.c
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#include <string.h>
2
3
int
4
main(void)
5
{
6
char buf[2] = "";
7
return( ! (1 == strlcpy(buf, "a", sizeof(buf)) &&
8
'a' == buf[0] && '\0' == buf[1]));
9
}