home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20609 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!e2big.mko.dec.com!adserv.enet.dec.com!winalski
  2. From: winalski@adserv.enet.dec.com (Paul S. Winalski)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Finding channel numbers in VAXC.
  5. Message-ID: <1993Jan8.194022.4550@e2big.mko.dec.com>
  6. Date: 8 Jan 93 19:40:22 GMT
  7. References: <9BC9F1BEDC67600344@TARDIS.PFC.MIT.EDU>
  8. Sender: usenet@e2big.mko.dec.com (Mr. USENET)
  9. Reply-To: winalski@adserv.enet.dec.com (Paul S. Winalski)
  10. Organization: Digital Equipment Corporation, Nashua NH
  11. Lines: 13
  12.  
  13.  
  14. In article <9BC9F1BEDC67600344@TARDIS.PFC.MIT.EDU>,
  15. MRL@TARDIS.PFC.MIT.EDU writes:
  16. |>
  17. |>Is there any easy way to find the channel number that VAXC uses for stdin?
  18. |>I.e. I want a function like fileno that can return the channel number.
  19. |>Thanks.
  20.  
  21. Given that the VAX C RTL uses RMS for most (if not all) of its file operations,
  22. what would you do with the channel number once you've got it?  It will be
  23. defined in exec mode, so you can't do QIOs to it.
  24.  
  25. --PSW
  26.