Hi Derek,

> From: Derek Robert Price
> 
> I explaioned in another email to Larry.  Still waiting to hear more
> opinions on the importance of the error check I restored.

I general, the more error checks be better say I!!!

> >>Are you certain there isn't just some library we're
> >>neglecting to include or some other function name (like "_fcntl()") we
> >>should be using?  I've seen similar problems with other POSIX functions
> >>under Windows.
> >
> >
> >Now, as far as some other function you should be using for Windows, I don't
> >do much low-level file I/O in my work, so I wouldn't be able to answer that
> >question without doing a fair amount of research.
> 
> Anybody else know about this?

Windows support of POSIX is claimed but I'm sure is limited.  Here's the overview URL:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/ucmglp.asp?frame=true

Chapter 8 of the above describes some limitations for fcntl re POSIX.1, see Table 3:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch08.asp?frame=true

Chapter 9 of the above describes fcntl but rewrites it away, see "File and Data 
Access" link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch09.asp?frame=true

The Visual C++ 6.0 Run-Time Library Reference, see "Alphabetic Function Reference" in 
left frame:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/crthm.asp?frame=true
just plain flat out omits "fcntl" function altogether.

If you send me an "fcntl" function prototype and requirements
description, I'll see what's possible using native Win32 API.

Conrad



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to