delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/16/12:13:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: sunrpc librairie
Date: Wed, 16 Jun 2004 12:00:12 -0400
Message-ID: <3D848382FB72E249812901444C6BDB1D022F4BB2@exchange.timesys.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robb, Sam" <sam DOT robb AT timesys DOT com>
To: "cygwin Mailing List" <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i5GGDXOo012749

> Hello,
> 
>     i'm trying to port a program using rpc calls to cygwin. 
> But when i 
> compiled using the headers from the sunrpc package i 
> discovered that in 
> clnt.h all the arguments of functions are in commentary:
> 
> /*
>  * Print why creation failed
>  */
> void clnt_pcreateerror(/* char *msg */);    /* stderr */
> char *clnt_spcreateerror(/* char *msg */);    /* string */

Bertrand,

  These are old source files - they were written using K&R C
(as opposed to ANSI C).  You can read:

  http://sources.redhat.com/autobook/autobook/autobook_51.html

...if you're interested in a discussion of the differences
between the two dialects.

-Samrobb

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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