home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / vmsnet / networks / tcpip / ucx / 230 next >
Encoding:
Text File  |  1992-12-12  |  783 b   |  28 lines

  1. Newsgroups: vmsnet.networks.tcp-ip.ucx
  2. Path: sparky!uunet!pipex!ibmpcug!miclon!nreadwin
  3. From: nreadwin@micrognosis.co.uk (Neil Readwin)
  4. Subject: VAX C stderr vs UCX 2.0 RSH
  5. Message-ID: <Bz5yLA.1Fp@micrognosis.co.uk>
  6. Sender: news@micrognosis.co.uk
  7. Organization: Micrognosis, a division of CSK(UK) Ltd
  8. Date: Sat, 12 Dec 1992 20:36:45 GMT
  9. Lines: 17
  10.  
  11. If I compile the program show below and then do the following on a random
  12. SunOS box ...
  13.     rsh my_vms_host "r ucx_misfeature.exe"
  14.  
  15. then it signals RMS-F-WER. Why?
  16.  
  17. #include <stdio.h>
  18. #include <errno.h>
  19.  
  20. int main() {
  21.     if (fputs("Gak!\n", stderr) == -1 && errno == EVMSERR)
  22.         lib$signal(vaxc$errno);
  23.     return 1;
  24.     }
  25. -- 
  26.  Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
  27.  Anything is a cause for sorrow that my mind or body has made
  28.