This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting from NT to Solaris
- To: rob dot christopher at marconi dot com (Rob Christopher)
- Subject: Re: Porting from NT to Solaris
- From: J dot A dot K dot Mouw at its dot tudelft dot nl (Erik Mouw)
- Date: Wed, 16 Aug 2000 19:23:18 +0200 (CEST)
- Cc: gcc at gcc dot gnu dot org
- Organization: Eric Conspiracy Secret Labs
Rob Christopher wrote:
> I am porting some c code and have not been able to compile code which has
> calls to 'stat' and 'getpid' since these are NT & 95 calls. Do you know how
> to convert these calls?
Both stat() and getpid() are standard UNIX functions. I think you forgot
to include the correct header files. Use "man stat" and "man getpid"
to find out which.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/