PROTECTED]
Sent: Tuesday, August 19, 2008 10:14 AM
To: cygwin@cygwin.com
Subject: Re: ioctl in cygwin
On Tue, Aug 19, 2008 at 09:27:59AM -0500, Chen, Lihong wrote:
>Hi,
>I need to be able to open a device using the POSIX reference in Cygwin
>and issue IOCTL calls to it. SCSI commands spe
On Tue, Aug 19, 2008 at 09:27:59AM -0500, Chen, Lihong wrote:
>Hi,
>I need to be able to open a device using the POSIX reference in Cygwin
>and issue IOCTL calls to it. SCSI commands specifically.
>
>The following is some code:
>
>struct sg_io_hdr io_hdr;
>
> int fd = open("/dev/sdc", O_RDWR);
2 matches
Mail list logo