strlen on a NULL

Valery Fine fine@bnl.gov
Tue May 12 19:07:00 GMT 1998


On 12 May 98 at 13:42, Kjeld.F.Christensen@dxd.erics wrote:

> On NT your process may lie anywhere, but never in ZERO, Thus you are
> not permitted to read from adress NULL. (You are not allowed to
> snoop around in the interrupt vetors!)

  Some int strlen(char *s) is started with

  int strlen(char *s){
   if (s==0) return 0;
   . . . 
  }

  but not all.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list