This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: memset (0, 0, 0);
- From: Andreas Schwab <schwab at suse dot de>
- To: "Petr Vandrovec" <VANDROVE at vc dot cvut dot cz>
- Cc: sean dot mcgoogan at superh dot com, bug-glibc at gnu dot org,stephen dot thomas at superh dot com, newlib at sources dot redhat dot com,gdb at sources dot redhat dot com
- Date: Fri, 04 Apr 2003 23:35:55 +0200
- Subject: Re: memset (0, 0, 0);
- References: <68A3DC2781@vcnet.vc.cvut.cz>
"Petr Vandrovec" <VANDROVE at vc dot cvut dot cz> writes:
|> BTW, all functions I know handle NULL, 0 without crash - being it
|> read, write, recvfrom (for both data & address), or current
|> implementation of memset, memcpy.
This is not required.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."