From owner-freebsd-questions Mon Apr 17 16:13:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta4-rme.xtra.co.nz (mta4-rme.xtra.co.nz [203.96.92.15]) by hub.freebsd.org (Postfix) with ESMTP id E6B4637B682 for ; Mon, 17 Apr 2000 16:13:43 -0700 (PDT) (envelope-from DRCAnderson@xtra.co.nz) Received: from dynasite ([210.55.163.61]) by mta4-rme.xtra.co.nz (InterMail v4.01.01.00 201-229-111) with SMTP id <20000417231341.PTWS12111858.mta4-rme@dynasite>; Tue, 18 Apr 2000 11:13:41 +1200 Message-ID: <00f801bfa961$ce835aa0$047ba8c0@co.nz> From: "David Anderson" To: "Nicolau Werneck" Cc: "FreeBSD Mail List" References: <200004171803.PAA20055@inetminas.estaminas.com.br> Subject: Re: C libraries Date: Tue, 18 Apr 2000 07:40:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Nicolau Yes there are differences - you will need to check out the Unix I/O stuff (see K&R for dir scanning, file opening etc......) > Suprisingly for me, the GCC compiler couldn't find the "conio.h" > library! I think this is a DOS console library. I think you will have to check out the Unix stuff for screen programming in the text shell. I found that Unix has more strict requirements for use of pointers (DOS lets you away with some things that are not defined - Unix wont). The file I/O and screen stuff will also require changes to your code. Dave ----- Original Message ----- From: Nicolau Werneck To: Sent: Monday, April 17, 2000 11:02 AM Subject: C libraries > Hi.. I've recentely installed FreeBSD in my other computer, and > I'm trying to compile the C programs I made before under DOS. > Suprisingly for me, the GCC compiler couldn't find the "conio.h" > library! > Are the libraries used in C under FreeBSD much different from > under DOS?? What are the main diferences between a C program > made to run under FreeBSD and one made to run under DOS? > > thanks... > > NWerneck > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message