Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 1997 19:35:03 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, jmg@nike.efn.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: bzero and FD_ZERO
Message-ID:  <199702210835.TAA01669@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>hmm...  I did a quick nm of libc.a, looks like the only bzero call is
>normal bzero...  same with memset...  is it time that we possible break
>these functions into a "specialized" header?  something like memfcn.h that
>will hold b* and mem* set of functions?

Lite2 changed a lot of string function calls to ANSI versions.  Wait 
until we catch up.  Putting the BSD versions in a separate header
wouldn't help much.  We would become incompatible with BSD.

>it looks like both sys/types.h and sys/buf.h require bzero...
>machine/pcaudioio.h requires memset... and machine/soundcard.h on
>memcpy...

sys/types.h is the only Standard header here.  sys/buf.h is a kernel-only
header.  The others probably should be documented as requiring <string.h>
if certain ioctls are used (if they are documented at all :-).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702210835.TAA01669>