delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/12/19:14:20

Date: Fri, 12 May 2000 19:53:08 -0400
Message-Id: <200005122353.TAA20842@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <391C59CE.6976.5491FE@localhost> (snowball3@bigfoot.com)
Subject: Re: patch for bzero and bcopy
References: <391C59CE DOT 6976 DOT 5491FE AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> ! void
>   bzero(void *a, size_t b)
>   {
>     return memset(a,0,b);

Close.  If you change the return type to "void" you should remove the
"return" also, since the function no longer returns anything.

- Raw text -


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