From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,50cbf078a700bcff X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: How to FD_SET in Ada on Linux? Date: 1999/03/04 Message-ID: <7bmb4u$ihk$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 451180239 References: <36ddfd4e.0@news.pacifier.com> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Mar 04 16:08:07 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-03-04T00:00:00+00:00 List-Id: In article <36ddfd4e.0@news.pacifier.com>, "Steve Doiel" wrote: > I am porting my sockets interface from Windows NT to Red Hat Linux 5.1. > > In 'C' FD_ZERO, FD_SET, FD_CLR, and FD_ISSET are implemented as macros in > the file /usr/include/selectbits.h > > I would like to replicate their functionality in Ada, but am having a great > deal of difficulty in demangling the C code. Has anyone already implemented > these functions in Ada? Hmm. Don't some C compilers have a mode where they just expand the macros and quit? T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own