bzero in libc/include/sys/types.h
Wed Sep 6 13:59:00 GMT 2000
A patch has been made to libc/include/sys/types.h to inline the zeroing code
rather than calling bzero so the
header file is not needed.
-- Jeff Johnston (Red Hat Inc)
Egor Duda wrote:
> libc/include/sys/types.h contains a reference to bzero, but it's
> declared elsewhere. so code
> #include <sys/time.h>
> /* sys/time.h is required for fdset and FD_ZERO, but it includes
> sys/types.h, where they actually defined */
> main ()
> fdset fds;
> FD_ZERO ( &fds );
> produces compiler warning.
> should #include <strings.h> be added to <sys/types.h>?
> Egor. mailto:firstname.lastname@example.org ICQ 5165414 FidoNet 2:5020/496.19
More information about the Newlib