repo.or.cz
/
io
/
quag.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updating built in Io code to use += instead of x = x + y
[io/quag.git]
/
libs
/
basekit
/
source
/
PortableStrlcpy.h
blob
6d9c0d9b729d061c13504f6d97ad1c532a2dce97
1
#ifdef _WIN32
2
#include <stddef.h>
// size_t on windows
3
#else
4
#include <sys/types.h>
// size_t
5
#endif
6
7
#define strlcpy(d, s, l) PortableStrlcpy((d), (s), (l))
8
9
size_t
PortableStrlcpy
(
char
*,
const char
*,
size_t
);