📅  最后修改于: 2022-03-11 14:59:44.945000             🧑  作者: Mango
代码示例1
char inputChar = 'h';
int fdDataTxt = open("./data.txt", O_WRONLY | O_APPEND | O_CREAT, 0666);
write(fdDataTxt, &inputChar,1);