httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: cvs snapshot. compiler warnings
Date Fri, 31 May 1996 19:26:30 GMT
How is select() defined in the headers? And fd_set? Whatever, HPUX would seem
to be broken by normal standards.

Cheers,

Ben.

Rob Hartill wrote:
> 
> 
> Based on the cvs snapshot apache_19960531190017.tar.gz compiled
> under HPUX.
> 
>         c89 -c +O3 -Ae -DXBITHACK -I/usr/local/include -DHPUX http_main.c
> cc: "http_main.c", line 1175: warning 604: Pointers are not assignment-compatible.
> cc: "http_main.c", line 1175: warning 563: Argument #2 is not the correct type.
> 
> -=-=-=-=-=
> 
> line 1175:
>      csd = select(listenmaxfd+1, &fds, NULL, NULL, NULL);
> 
> -=-=-=-=-=-
> 
> The man page starts with the following.
> 
> NAME
>       select - synchronous I/O multiplexing
> 
>  SYNOPSIS
>       #include <time.h>
> 
>       int select(
>            size_t nfds,
>            int *readfds,
>            int *writefds,
>            int *exceptfds,
>            const struct timeval *timeout
>       );
> 
> 
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.

Mime
View raw message