Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!pyrltd!root44!gwc From: gwc@root.co.uk (Geoff Clare) Newsgroups: comp.unix.internals Subject: Re: Using sdtlib.h on a Sun system Message-ID: <2456@root44.co.uk> Date: 3 Oct 90 13:51:02 GMT References: <1990Sep30.152249.15810@fmrco> <2984@idunno.Princeton.EDU> Organization: UniSoft Ltd., London, England Lines: 16 sy13220@fmrco (Richard J. Niziak) wrote: >I am fairly new to 'C' and am trying to complie a simple intro >program on my Sun 4/370. I use two include headers, stdio.h and stdlib.h >And when the complie goes through, it cannot find stdlib.h. subbarao@phoenix.Princeton.EDU (Kartik Subbarao) replied: >stdlib.h is an ANSI Cism. You can only use ANSI C if you have an ANSI C >compiler (such as gcc). While these two statements of Kartik's are both true, the implication that you can only use stdlib.h if you have an ANSI 'C' compiler is not. All POSIX conformant systems provide stdlib.h regardless of whether they have a common 'C' or ANSI 'C' compiler. -- Geoff Clare (Dumb American mailers: ...!uunet!root.co.uk!gwc) UniSoft Limited, Hayne Street, London EC1A 9HH, England. Tel: +44-71-315-6600