Carlo Sogono writes:
> I have a few questions about C programming under Linux:
>
> 1. where can I find info on how to use the include/hash files under > /usr/include ?
>especially those that are NOT ANSI, like > /usr/src/linux/include ?
If it's under /usr/src/linux, it's part of the kernel source. I can't see
why you'd want to go there unless you're writing a device driver.
For other Unix/Linux/GNU specific functions, refer to the appropriate
manpages. If you're looking for dead tree documentation, I'd recommend
Stevens' Advanced Programming in the UNIX Environment (available locally as
a reprint), or one of the O'Reilly unix/C programming books by David Curry.
> 2. what in the world is gcc/glibc's version of turbo c's gotoxy(x,y) to > reposition
>the cursor?
There is no equivalent, since it's a DOS-ism. If you want to control the
terminal, your best bet is to use a curses-compatible library (e.g.
ncurses). I typically advise against it, however.
Brian
--
Brian Baquiran
[EMAIL PROTECTED]
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]