Paul Edwards
2019-12-14 21:48:14 UTC
It seems that MSDOS has an "ioctl" call
http://www.ctyme.com/intr/rb-2821.htm
http://www.ctyme.com/intr/rb-2820.htm
bit 5
that allows an application to inform the
OS whether this is a binary or text file
that is being read/written.
Does Windows have something to distinguish
whether a file is text or binary?
Unix seems to have O_TEXT and O_BINARY
on the open() call, but I'm not sure if
this is Posix or not.
Thanks. Paul.
http://www.ctyme.com/intr/rb-2821.htm
http://www.ctyme.com/intr/rb-2820.htm
bit 5
that allows an application to inform the
OS whether this is a binary or text file
that is being read/written.
Does Windows have something to distinguish
whether a file is text or binary?
Unix seems to have O_TEXT and O_BINARY
on the open() call, but I'm not sure if
this is Posix or not.
Thanks. Paul.