Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zam
· 16y ago · 0 comments
void strcpy(char *s, char *d) { while(*d++ = *s++); }
Comments
[–]
tedunangst
16y ago
your arguments are backwards and you didn't return dst.
[–]
juanufrj
16y ago
Bit off-topic, are you ted unangst from openbsd?
[–]
tedunangst
16y ago
that'd be me.