public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] conversion of cyg_io_handle_t type to filedescriptor of type integer
@ 2001-07-17 10:23 Thiagarajan Rajasekaran
  2001-07-17 11:36 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: Thiagarajan Rajasekaran @ 2001-07-17 10:23 UTC (permalink / raw)
  To: ecos-discuss

Hi,
I'm trying to use the ioctl(int fd, u_long cmd, void *data) defined in
ecos/packages/net/tcpip/src/lib/ioctl.c for my task. This function needs
filedescriptor fd as one of the parameters. In ECOS when you open a
serial device it gives you a handle of type cyg_io_handle_t. Is there a
way to get the filedescriptor from cyg_io_handle_t or I should write my
own version of ioctl()?.  Please reply to me asap.

thanks,

Raj
--
****************************************************************
*   Thiagarajan Rajasekaran                                    *
*   ConnectTel, Inc.                    Austin, Texas.         *
*   Phone : 512-338-1111 Ext-104        Fax : 512-918-0449     *
*   Email : rajt@connecttel.com                                *
*   Site  : http://www.connecttel.com                          *
****************************************************************


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-19  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-17 10:23 [ECOS] conversion of cyg_io_handle_t type to filedescriptor of type integer Thiagarajan Rajasekaran
2001-07-17 11:36 ` Jonathan Larmour
2001-07-19  7:40   ` Thiagarajan Rajasekaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).