|
I expected there would be more problems :) but if that's the only thing left, take a look at this page and tell me if you can see the same code there... it's the same on all the web manuals, but it's possible there's a browser-ccsid type thing that's cocking it up: http://as400bks.rochester.ibm.com/pubs/html/as400/v5r1/ic2924/info/apis/snmpexmp.htm On Wednesday 28 November 2001 23:24, James Rich wrote: > 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 > james@eaerich.com > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l > or email: C400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.