By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,948 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,948 IT Pros & Developers. It's quick & easy.

What is the replacement for "dos.h" in Unix?

P: 1
instedof #include"dos.h" which header file is used in unix?
Nov 13 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,112
Hi there!
You posted this question as a reply to something totally unrelated, so I split it into it's own thread. Please read our Posting Guidelines and keep to them in future (including opening a own thread, when asking a new and unrelated question). That also makes the chances bigger, that you'll get the right answer.

By the way, I'd say this is more of a C/C++ Question than a Linux/Unix question, so I'm moving this to the C/C++ Forum.

Nepomuk (Moderator)
Nov 13 '08 #2

Expert 100+
P: 2,415
Why don't you omit dos.h and see what errors are provoked. Then you need to find out which headers in linux will resolve those errors.

Are you porting a program from dos to linux?
Nov 13 '08 #3

Expert 10K+
P: 11,448
instedof #include"dos.h" which header file is used in unix?
It is not 'unix.h' and porting sources from one platform to another is not a one-to-one
substitution task. More so when the code has been written especially for one small
platform such as an MS Windows PC. It is nearly impossible to rewrite the code
to any other decent platform. I'd say: forget about it and find something decent
to do.

kind regards,

Nov 13 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.