Re: New function (repost from php-cvs)
| From: | Jim Winstead | Date: | Mon, 04 Mar 2002 20:02:17 +0000 |
| Subject: | Re: New function (repost from php-cvs) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80703@lists.php.net to get a copy of this message | ||
Marcus Boerger <520072483730-0001@t-online.de> wrote:
> what about a new function called strnlen str*n*len which will
> return the length of a string with a given maximum to avoid
> problems with strings not zero terminated.
why not just use memchr()?
jim