> I was thinking the same until I checked back on the ISO C11 specification and > - there's no strnlen function :D
Yes, it is true, but take a look to strnlen(3): The strlen() and strnlen() functions conform to IEEE Std 1003.1-2008 (``POSIX.1''). ;). -- Roberto E. Vargas Caballero ---------------------------- k...@shike2.com http://www.shike2.com