2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
8 /*****************************************************************************
19 Calculate the length of a string (without the terminating 0 byte).
22 ptr - The string to get its length for
25 The length of the string.
37 ******************************************************************************/
39 const char * start
= ptr
;
43 return (((long)ptr
) - ((long)start
));