strlen(NULL)
Alexandre Oliva
aoliva@redhat.com
Tue Jun 13 14:26:00 GMT 2000
On Jun 13, 2000, Serge <serge_n@uspi.ussuriisk.ru> wrote:
> In short: strlen(NULL) coredumps. Better if it will return zero or -1
This has nothing to do with GCC. strlen is a C library function, and
GCC doesn't contain a C library.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-bugs
mailing list