I take a class called Operating Systems, and we study these functions. I have a Mac, and I want to know if these features work on a Mac, or I need to install Linux. If I can’t do this on a Mac, which Linux distribution should I install? (There are so many, I don’t know which one to get).
Your prototype is pipe()incorrect, but all three functions are part of POSIX. Since OS X is a POSIX operating system, it supports all three. Note that you will need to install the Apple developer tools in order to have access to the compiler and related headers and the like in order to create software that uses them.
pipe()
, UNIX, Windows, Linux . mac, . , , Linux - , . .