home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20272 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.0 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!emory!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!cybrspc!news
  2. From: roy%cybrspc@cs.umn.edu (roy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How do you read binary data piped into stdin?
  5. Message-ID: <930126.062840.1v1.rusnews.w165w@cybrspc.uucp>
  6. Date: Tue, 26 Jan 93 06:28:40 CST
  7. References: <N0gRXB1w165w@eastwind.mcds.com> <1993Jan26.012308.19664@netcom.com>
  8. Organization: Villa CyberSpace, Minneapolis, MN
  9. X-Newsreader: rusnews v0.97
  10. Lines: 12
  11.  
  12. pdh@netcom.com (Phil Howard ) writes:
  13.  
  14. > Unfortunately, standard C lacks a facility to change the mode of an open
  15. > file.  This would be what you need, and I have had situations where I need
  16. > this as well.
  17.  
  18. What about setmode()?  My FM says the call is available on Unix systems.
  19. Is the FM lying to me?  (I s'pose it wouldn't be the first time)
  20. --
  21. Roy M. Silvernail --    [my machine ] "Sometimes, you're the windshield....
  22. roy%cybrspc@cs.umn.edu  [my opinions]            sometimes, you're the bug!"
  23. cybrspc!roy@cs.umn.edu  [my $0.0275 ]                      --Mark Knopfler
  24.