| delorie.com/archives/browse.cgi | search |
| From: | dejatv AT my-dejanews DOT com |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | how to write binary files to stdout? |
| Date: | Thu, 27 Aug 1998 04:02:19 GMT |
| Organization: | Deja News - The Leader in Internet Discussion |
| Lines: | 12 |
| Message-ID: | <6s2lob$4cr$1@nnrp1.dejanews.com> |
| NNTP-Posting-Host: | 156.153.255.178 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Is it possible to change the mode of stdout to binary? I've tried
setmode(stdout, O_BINARY);
The functions returns an error (-1).
Thanks.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |