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
How to append to a file
util.writefile("test.log", "追加content", "RWXU")
The text was updated successfully, but these errors were encountered:
Use the O_APPEND flag
Sorry, something went wrong.
Sorry, util.writefile was missing a flags option - some of those commands need some more work.
The version in git head not allows you to do
util.writefile("test.log", "追加content", nil, "append")
(the file should be created first). Its not ideal, will look at cleaning up further...
fine ,good job!
No branches or pull requests
How to append to a file
The text was updated successfully, but these errors were encountered: