You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i am trying to make a .log nad .json file, but the code wont make those file types, it also wont do a .h file. I dont think this is a issue with my implementation.
elseif (strcmp(arguments[0],"touch") ==0)
{
charpath[FATFS_MAX_LONG_FILENAME] ="";
strcat(path,cwd);
strcat(path,"/");
strcat(path,arguments[1]);
FILE*file=fl_fopen(path, "a");
if (file==NULL) {
perror("Failed to open file"); // Print an error message if the file can't be openedreturn1; // Return an error code
}
}
It can make .txt and .c.
thx
The text was updated successfully, but these errors were encountered:
Hi, i am trying to make a .log nad .json file, but the code wont make those file types, it also wont do a .h file. I dont think this is a issue with my implementation.
It can make .txt and .c.
thx
The text was updated successfully, but these errors were encountered: