🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #788

Re: zapeof

#788
From: Mumit Khan
Date: Thu, 05 Nov 1992 17:14
36 lines
1687 bytes
In article <9211051449.AA04635@olympia.miro.com> rme@miro.com (Richard M. Emberson) writes:
>
>Greetings,
>  I'm trying to compile  3.1-beta3 with gcc-2.3.1 and I've run into
>an obstacle. In the InterViews file Dispatch/rpcbuf.c, in methods
>int rpcbuf::overflow(int) and int rpcbuf::underflow()
>there is a method called int zapeof(char). I can not find it any where.
>
>  Could someone please tell me what its suppose to do so that I can
>write an equivalent function and get on with the build.
>
>  Thanks.
>
>RIchard Emberson
>rme@miro.com


zapeof() is a macro in AT&T iostreams package and this is what
iostreams.h says about it:

            /* extracts char from c. The critical requirement is
             *      zapeof(EOF)!=EOF
             * ...
             */

Since I have no clue as to the legality of posting excerpts from 
proprietary header files, I'll refrain from posting any more from
iostream.h, but the macro is obviously trivial given the requirement 
above.

I've gotten Dispatch to compile and link under gcc-2.3.1 and libg++-2.2, 
but have severe problems right now ... Let me know if you have any more
luck.

hope this helps.
mumit -- khan@xraylith.wisc.edu
Technical Details
Message-ID: <1992Nov5.171411.20104@pslu1.psl.wisc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!uwm.edu!zazen!psl.wisc.edu!khan
References: <9211051449.AA04635@olympia.miro.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!uwm.edu!zazen!psl.wisc.edu!khan
From: khan@pslu1.psl.wisc.edu (Mumit Khan)
Subject: Re: zapeof
Message-ID: <1992Nov5.171411.20104@pslu1.psl.wisc.edu>
Organization: Center for X-ray Lithography, University of Wisconsin
References: <9211051449.AA04635@olympia.miro.com>
Date: Thu, 5 Nov 92 17:14:11 GMT
Lines: 37