Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@stommel.tamu.edu>
Subject: Re: libc
Date: Tue, 22 Jul 1997 00:52:36 -0500 (CDT)	[thread overview]
Message-ID: <02ae9afc0f541ce32d3ce0acb9811e3c.axp-list@archive.invalid> (raw)
In-Reply-To: <199707220341.VAA16915@ellpspace.math.ualberta.ca>

> Headers, i.e. <sys/socket.h> say:
> 
> extern int connect __P ((int __fd,
>                          __CONST_SOCKADDR_ARG __addr, size_t __len));
[...]
> I strongly suspect that size_t above is a POSIX requirement although
> I do not know that for sure.  Anybody can confirm/refute?

Confirmed.  POSIX requires size_t while tradition said int.

The portable solution is to add a new test to autoconf and a
type define to accompany.  This is going to be even more of a 
problem for sparc64, what with it being big-endian...

r~

--
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-07-22  5:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33D4B218.7137@home.com>
1997-07-22  3:41 ` libc Michal Jaegermann
1997-07-22  5:52   ` Richard Henderson [this message]
1997-07-22  3:45 libc Greg Lindahl
1997-07-22 12:40 ` libc Michael Alan Dorman
  -- strict thread matches above, loose matches on Subject: below --
1997-07-22 13:14 libc Ryan Benigno
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