[Asterisk-Dev] [RFC] strncpy -> ast_copy_string

Kevin P. Fleming kpfleming at digium.com
Sun May 1 19:58:58 MST 2005


Steve Underwood wrote:

> For strings its some messier still, as along the way any byte could be 
> the terminating null. It is still doing the same basic thing, though - 
> get aligned then work in words.

Right, I was more concerned with the weird masking and such in 
DETECT_NULL... Let's see what the consensus is on going this direction 
and do some actual performance testing before trying to optimize it any 
further :-)



More information about the asterisk-dev mailing list