Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2000 07:40:11 -0700
From:      "David Anderson" <DRCAnderson@xtra.co.nz>
To:        "Nicolau Werneck" <nwerneck@net.em.com.br>
Cc:        "FreeBSD Mail List" <freebsd-questions@freebsd.org>
Subject:   Re: C libraries
Message-ID:  <00f801bfa961$ce835aa0$047ba8c0@co.nz>
References:  <200004171803.PAA20055@inetminas.estaminas.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nwerneck@net.em.com.br>
To: <questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f801bfa961$ce835aa0$047ba8c0>