Computing.Net > Forums > Linux > dos.h for linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

dos.h for linux

Reply to Message Icon

Name: Jill
Date: February 1, 2001 at 21:44:41 Pacific
Comment:

does anyone know where I can find dos.h for linux, or the equivalent. Or information of interrupt programming using C++.



Sponsored Link
Ads by Google

Response Number 1
Name: Kerim BASOL
Date: February 21, 2001 at 05:52:02 Pacific
Reply:

The equivalent of the termios.h under Linux
termios and others below library you can use
with under Linux.
In your c code
___________________
#include
#include
/* Input/Output Controlt below */
#include
#include
-------------------

/dev <-- This directory has got your device
files you can do Input/Output with these files.
For example:
/dev/cua0 for com1 under dos.
You can make
Input with read(2);
Output with write(2);
If you want to learn more just type in
command line.

$ man [your header file]


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: dos.h for linux

Library dos.h www.computing.net/answers/linux/library-dosh/6421.html

What do you use linux for? www.computing.net/answers/linux/what-do-you-use-linux-for/4115.html

Netware Client for Linux Solution www.computing.net/answers/linux/netware-client-for-linux-solution/8273.html