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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,21c404e5fd4203dc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-04 19:01:15 PST Path: archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed.mathworks.com!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!attbi_s51.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: <3FA768A4.7080803@nowhere.com> Subject: Re: ioctl X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s51 1068001273 12.211.58.135 (Wed, 05 Nov 2003 03:01:13 GMT) NNTP-Posting-Date: Wed, 05 Nov 2003 03:01:13 GMT Organization: Comcast Online Date: Wed, 05 Nov 2003 03:01:13 GMT Xref: archiver1.google.com comp.lang.ada:2063 Date: 2003-11-05T03:01:13+00:00 List-Id: If you're on Windows, I would say C_Ioctl is equivalent to "ioctlsocket", as you can see in the private section of Gnat.Sockets.Thin. pragma Import (Stdcall, C_Ioctl, "ioctlsocket"); The function "ioctlsocket" is part of the standard Win32 API. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/ioctlsocket_2.asp Steve (The Duck) "Adrian Hoe" wrote in message news:3FA768A4.7080803@nowhere.com... > Hi, > > Is function C_Ioctl in package Gnat.Sockets.Thin equivalent to C's ioctl? > > Thanks. > -- > Adrian Hoe > m a i l b o x AT a d r i a n h o e . c o m >