Comments (3)
Use the O_APPEND flag
from ljsyscall.
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...
from ljsyscall.
fine ,good job!
from ljsyscall.
Related Issues (20)
- Packaging question/request for feedback HOT 3
- No atexit on Ubuntu 14.04/15.04 HOT 4
- Add TFD_TIMER_CANCEL_ON_SET constant HOT 2
- How to create directory with sticky tag? HOT 7
- Test failing on FreeBSD 10.2 HOT 6
- Signal masked with custom handler ignored HOT 3
- getcpu() call appears not to work HOT 5
- Failing tests on x86_64 HOT 5
- nice test failing on docker cloud CI
- execv() HOT 4
- SEEK_DATA and SEEK_HOLE support for linux HOT 3
- wrong require"syscall"._VERSION HOT 1
- syscall.lfs improvement HOT 4
- copy_file_range support
- at least lfs is broken on later versions of TrueOS (eg. FreeBSD 12.0 current) HOT 7
- netlink neighbors code returns rtmsg instead of ndmsg HOT 3
- Missing O_TMPFILE constant HOT 1
- Misoptimization on lseek system call HOT 19
- WSL test failures
- Luajit Boot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ljsyscall.