int unzip(in, out)
int in, out; /* input and output file descriptors */
{
...
}
What's the purpose of defining the variables here? Thanks.
it is old C style
It's the way things were done before the first C standard
came out about 20 years ago. Instead of
int unzip( int in, int out )
{
you had to write
int unzip(in, out)
int in, out;
{
since back then you couldn't set the types of the arguments
in the argument list itself.
If you find that in some programs it's either because the
program is very old or, for some reasons, the author wants
to make sure it would even compile on ancient C compilers,
predating the first C stamdard.
Regards, Jens
--
\ Jens Thoms Toerring ___ j...@toerring.de
\__________________________ http://toerring.de