cURL / Mailing Lists / curl-library / Single Mail

curl-library

IRIX quirks?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 31 Jul 2004 23:34:57 +0200 (CEST)

Hi

I'm puzzled by a few warnings caused by the MIPRPro compiler on 64bit IRIX
6.5.22 as provided by Tor Arntsen.

I found some IRIX 5.3 man pages online that indicated that the prototypes IRIX
provides for the following functions don't match the ones that Linux provides:

* writev()
* send()
* recv()

It would be interesting to know if this is still the case for more recent
versions of IRIX, as that would explains a few warnings.

I compared the protos with "The Single UNIX Specification, Version 2", and it
made this TSUSV2-compliant table:

function Linux IRIX
-------- ----- ----
  writev no yes
  send yes no
  recv yes no

(The differences are all usage of ssize_t instead of int and vice versa.)

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-31