How is strlen implemented?



Hi,

I was wondering how strlen is implemented.
What if the input string doesn't have a null terminator, namely the
'\0'?
Thanks a lot
Roy

.



Relevant Pages

  • Re: How is strlen implemented?
    ... roy wrote: ... > What if the input string doesn't have a null terminator, ... strlen will read from the char* until it finds a '\0' char. ...
    (comp.lang.c)
  • Re: How is strlen implemented?
    ... >What if the input string doesn't have a null terminator, ... Without the null-byte terminator, it's not a string! ... Chris. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Recent IBL Update
    ... > I suspect there has just been an inbound links update. ... Prev by Date: ...
    (alt.internet.search-engines)
  • Re: CIA Factbook Mirrors
    ... automatically if the copier does not even acknowledge to the ... It's a hit-or-miss situation. ... Roy ... Prev by Date: ...
    (alt.internet.search-engines)
  • Re: Vorurteile Ostdeutschland
    ... Der Soli wird deutschlandweit bei allen belastet. ... MfG ... Roy ... Prev by Date: ...
    (de.rec.reisen.misc)