Hi,

Why not reuse memccpy (in glibc)? as in 'memccpy(to, from, '\0', size)'.
Not only for sake of reusing, but memccpy is highly optimized for
ia64, and may be optimized for other arches in the future.

Cheers,
philomath.

Reply via email to