I want to write to my output_file using:
if((fptr = creat(output_file, _S_IWRITE)) == -1)
_write(fptr, buffer, BUF_SIZE);
It says "_S_IWRITE" undeclared!!!
Anybody knows what function I can use for that and what I have to include in the header files???
P.S. I #include<sys/file.h>