home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!gatech!hubcap!news
- From: rsaripa@poe.cs.clemson.edu (Saripalli Ramakrishna)
- Subject: Details about the OS version and machine type from #include files?.
- Message-ID: <1992Sep7.211308.12065@hubcap.clemson.edu>
- Sender: news@hubcap.clemson.edu (news)
- Organization: Clemson University Computer Science Dept.
- Distribution: na
- Date: Mon, 7 Sep 1992 21:13:08 GMT
- Lines: 13
-
- hi there!,
-
- IS there any way of knowing which OS(version) is currently running and what is the machine(sun,vax etc)
- just by looking at some of the include files?.I need to know this info,when I am running my C program.
-
- This is to #ifdef out some code specific to the operating system.
-
-
- Thanks a lot,
- Saripalli Ramakrishna
-
- e-mail : rsaripa@cs.clemson.edu
- Man is a beast and usually has no control over his passions.
-