I\'m learning about file descriptors and I wrote this code:
#include #include #include #include
Try this:
open("output", O_CREAT|O_WRONLY, 0777)