> 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/