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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.