Skip to content

Commit

Permalink
Update functions.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy-Coder authored Aug 5, 2024
1 parent 94bfd0a commit b28b9a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions c/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,14 @@ TidyBoolean tidyFg_delete(char[] tidyPath){
#endif
}
}

TidyBoolean tidyFg_createFile(char[] tidyPath){
FILE* fileHere = fopen(tidyPath, "w");
if(fileHere == NULL){
return FALSE
}
if(fclose(fileHere) != 0){
return FALSE
}
return TRUE
}

0 comments on commit b28b9a1

Please sign in to comment.