Can someone please explain what unistd.h does and the purpose of it? I have been googleing the last hour and I don't understand it.

Recommended Answers

I cannot imagine you could not find the first link in a google search.
http://en.wikipedia.org/wiki/Unistd.h

Also, if you don't know what it is, you don;t need it.

Jump to Post

All 3 Replies

My guess is that he found some code written for *nix and is trying to compile it with an MS-Windows compiler -- MinGW compiler is pobably the only MS-Windows compiler that uses it.

I'm trying to understand some code on rosetta stone and I thought actually understanding that library would help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.