Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>strlen</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  STRLEN

  .  Summary

  strlen(str <s>);

  .  Description

  The strlen function returns the number of characters in the string
  <s>. Since strings are terminated with a 0 (NULL) character, this
  function really counts the number of characters before a 0 is en-
  countered.

  .  Return Value

  An integer value representing the length of a string.

  .  Example

  str teststr[] = "This is a test string";
  printsc("The length of 'teststr' is ");
  printn(strlen(teststr));

See Also: strmaxlen

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson