I am taking a class called 'Operating Systems' and we are learning about these functions. I have a Mac and i want to know if these function work on Mac, or do I have to install linux. If I can't do this on Mac, what linux distribution should I install? (There's so many, I don't know which one to get).
Your prototype for pipe()
is wrong, 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 Apple's developer tools in order to have access to a compiler and the appropriate headers and such in order to build software that uses them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With