We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the documentation page titled "File Handling", it shows the following example code:
void myobject_writefile(t_myobject *x, char *filename, short path) { char *buf = "write me into a file"; long err; t_filehandle fh; err = path_createsysfile(filename, path, 'TEXT', &fh); if (err) return; err = sysfile_writetextfile(fh, &buf, TEXT_LB_NATIVE); sysfile_close(fh); }
This results in an empty file. The sysfile_writetextfile function requires an allocated handle. This has been discussed a few times in the forums:
sysfile_writetextfile
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the documentation page titled "File Handling", it shows the following example code:
This results in an empty file. The
sysfile_writetextfile
function requires an allocated handle. This has been discussed a few times in the forums:The text was updated successfully, but these errors were encountered: