Answers for "fopen append c"

C
0

append to file open c

char inputChar = 'h';
int fdDataTxt = open("./data.txt", O_WRONLY | O_APPEND | O_CREAT, 0666);  
write(fdDataTxt, &inputChar,1);
Posted by: Guest on June-22-2020

Code answers related to "C"

Browse Popular Code Answers by Language