delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/12/23:15:22

From: fine AT bnl DOT gov (Valery Fine)
Subject: Re: strlen on a NULL
12 May 1998 23:15:22 -0700 :
Message-ID: <199805130207.WAA22725.cygnus.gnu-win32@mail.bnl.gov>
References: <H00000b00005bfcb AT MHS>
Reply-To: fine AT mail DOT cern DOT ch
To: Kjeld DOT F DOT Christensen AT dxd DOT ericsson DOT se
Cc: gnu-win32 AT cygnus DOT com

On 12 May 98 at 13:42, Kjeld DOT F DOT Christensen AT dxd DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019