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>strmaxlen</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  STRMAXLEN

  .  Summary

  strmaxlen(str <s>);

  .  Description

  The strmaxlen function returns the maximum number of characters that
  string <s> can hold. This is the same value as used when the string
  is defined elsewhere in the program (e.g. if the string was defined
  as 'str hello[16];', a value of 16 would be returned). All strings
  are really one character larger than defined, as the last character
  is always a terminating 0 (NULL). However, since this value can not
  be changed, it is not counted as part of the length of a string.

  .  Return Value

  An integer value as described above.

See Also: strlen

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