delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/01/04:03:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer david.siemens.de)
From: Borsenkow Andrej <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: cygwin AT cygwin DOT com
Subject: RE: BUG - 1.3.n accept fails if NULL sockaddr * argument and other related stuff.
Date: Wed, 1 Aug 2001 12:02:44 +0400
Message-ID: <000c01c11a60$58576670$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20010801092435.B9574@cygbert.vinschen.de>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006

> >
> > 1. socket.h does not include a type "socklen_t" which is
> apparently defined
> > on some Unix platforms.
> >

So what? You yourself say "on some Unix". I have seen the actual type in
question (used in prototypes) being int, size_t, unsigned long. May be
something else. Defining it as socklen_t adds virtually nothing to
readablility or portability (portable programs should still check actual
type to avoid prototype mismatch errors).

Or do you say that socklen_t is defined in some standard? This is different
matter.

-andrej

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019