Which OS do i need to successfully run programs from chapter 8 in K&R?
I saw they included "syscalls.h" in their first program, allowing them usage of read/write/open/close functions from the system.
Since im using Windows, do i have to install a UNIX OS? If so which one? And even then, do i need to install a special compiler to be able to use the mentioned system functions?
My compiler actually recognizes these functions - a bubble pops up with the arguments i have to write in when i write read (...) in the code window. But i dont know in which header they are. Im using Dev-C++.
while((n = read(0, buf, BUFSIZE)) > 0)
write(1, buf, n);