This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: strlen on a NULL
- To: Kjeld dot F dot Christensen at dxd dot ericsson dot se
- Subject: Re: strlen on a NULL
- From: "Valery Fine" <fine at bnl dot gov>
- Date: Tue, 12 May 1998 22:07:27 -0500
- CC: gnu-win32 at cygnus dot com
- Organization: Brookhaven Nat. Lab / STAR
- Reply-to: fine at mail dot cern dot ch
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".