home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / c / 13305 < prev    next >
Encoding:
Text File  |  1992-09-08  |  850 b   |  25 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!gatech!hubcap!news
  3. From: rsaripa@poe.cs.clemson.edu (Saripalli Ramakrishna)
  4. Subject: Details about the OS version and machine type from #include files?.
  5. Message-ID: <1992Sep7.211308.12065@hubcap.clemson.edu>
  6. Sender: news@hubcap.clemson.edu (news)
  7. Organization: Clemson University Computer Science Dept.
  8. Distribution: na
  9. Date: Mon, 7 Sep 1992 21:13:08 GMT
  10. Lines: 13
  11.  
  12. hi there!,
  13.  
  14.     IS there any way of knowing which OS(version) is currently running and what is the machine(sun,vax etc)
  15.     just by looking at some of the include files?.I need to know this info,when I am running my C program.
  16.     
  17.     This is to #ifdef out some code specific to the operating system.
  18.  
  19.  
  20.                                         Thanks a lot,
  21.                                 Saripalli Ramakrishna
  22.  
  23. e-mail :  rsaripa@cs.clemson.edu
  24. Man is a beast and usually has no control over his passions.
  25.