C++ – include unistd.h: why not cunistd?

Your algorithm is correct for most (all?) standard C headers, but unistd.h is not part of standard C so standard C++ in turn doesn’t include it with the other c... headers.

Leave a Comment