From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6d8f57cfe5b8347b98acfb5459ab5f3f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199704071714.TAA25898@jupiter.stochastik.rwth-aachen.de> Date: Mon, 7 Apr 1997 18:22:55 +0100 (BST) From: Philip Blundell Subject: Re: sockets and portability On Mon, 7 Apr 1997, Daniel Gruner wrote: > 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 > *"? This causes all sorts of portability problems. Here is the > definition from linux/alpha (RH 4.0, kernel 2.0.27 + axp-diffs): POSIX specifies "size_t" for these arguments, and glibc follows POSIX as much as possible. It shouldn't be that great a headache to work around. phil -- 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