Re: bzero

From: Alex (fletchra@qsilver.queensu.ca)
Date: 09/04/02


> bzero used to be used by CircleMUD, but was removed.
>
> "Also removed some old bzero() calls that were still lurking from the
> old days (modern SYSV systems don't like bzero() at all.)"
To be slightly more precise, the reason that the original pointer
suggests using memset is because bzero() is a BSD-ism, and is not found
on non-BSD based systems (ie Solaris).  In fact, in the latest release
of a certain BSD related C library, bzero() is merely a macro for memset()
anyhow.

Whem man pages suggest an alternative, use it.  :)

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT