Well this line:

>       if ( pdu[0]->pdu_type != pdu_type ) \keyword{return(-2001);

And this line:

>       if ( i > 100 /* MAX_NUM... */ ) \keyword{return(-2002);

Are not valid C code.  I don't know what \keyword{ is supposed to mean.
Better check that you copied this correctly.

Besides that, the code that you sent has other problems as well.  It
doesn't #include enough stuff and has some function declarations missing.
I fixed those problems but I can't get around \keyword{.  If I knew what
that was for I would send you the fixed code.

James Rich

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.