RE: [AD] Unicode again

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> And ustrncpy() doesn't behave the same as the ANSI strncpy(): the former
> always appends a terminating null character whereas, according to my docs,
> the latter doesn't. I don't think we should change that now, but we must
> update the docs.

I think the u* versions should have the same behavior as the libc versions,
since they're designed to be (almost) replacements for anyone who wants to
use unicode in a program. I'd call the discrepancy a bug and fix it.

--
Lyrian



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/