home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!wupost!uwm.edu!linac!att!mcdchg!laidbak!tellab5!vpnet!mox
- From: mox@vpnet.chi.il.us (William Moxley)
- Subject: Fopening a text file
- Message-ID: <1993Jan5.015937.19270@vpnet.chi.il.us>
- Organization: Vpnet Public Access
- Date: Tue, 5 Jan 1993 01:59:37 GMT
- Lines: 12
-
- I'm having some problems with a program that I wrote for this computer
- which is running a sys V unix operating system. My problem is with
- fopen. When I try do a fopen("filename", "rt"); it opens the file as a
- binary. If I drop the t, is still creates a binary file. So how do I
- make fopen create a straight text file?
-
- As you can guess, I normally don't write programs for machines other
- than dos. Thanks in advance...
-
- William Moxley
- mox@vpnet.chi.il.us
-
-