This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: strlen on a NULL


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]