Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael Alan Dorman <mdorman@calder.med.miami.edu>
Subject: Re: sockets and portability
Date: 07 Apr 1997 12:45:32 -0400	[thread overview]
Message-ID: <d749871deccd7e3c41749d2a36ca8f37.axp-list@archive.invalid> (raw)

dgruner@tikva.chem.utoronto.ca (Daniel Gruner) writes:
> Can anyone enlighten me as to why sys/socket.h on linux/alpha defines
> functions like accept() and getsockname() using a "size_t *" 3rd
> argument, while the rest of the world, including linux/intel use "int
> *"?

I believe that glibc was written to the draft XPG5 spec (or some spec,
I forget exactly which).

IMHO, the use of size_t is more consistent.  But yes, it is something
of a pain in the ass.

Mike.

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-04-07 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-07 16:45 Michael Alan Dorman [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-04-07 17:22 sockets and portability Philip Blundell
     [not found] <Pine.OSF.3.91.970407121521.2467E-100000@caesar.iplink.net>
1997-04-07 16:37 ` Daniel Gruner
     [not found] <199704071549.LAA21600@tikva>
1997-04-07 16:27 ` Alvin Starr
1997-04-07 15:49 Daniel Gruner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox