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,start X-Google-Attributes: gid103376,public From: "Steve Doiel" Subject: How to FD_SET in Ada on Linux? Date: 1999/03/03 Message-ID: <36ddfd4e.0@news.pacifier.com>#1/1 X-Deja-AN: 451011818 X-Trace: 3 Mar 1999 19:26:06 PST, 216.65.141.20 Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 1999-03-03T00:00:00+00:00 List-Id: 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? Note: I already looked at GNAT's System.Garlic.Thin which defines FD_SET but does not define any of these operations. Thanks in advance, SteveD