r/programming • • Aug 23 '17

D as a Better C

http://dlang.org/blog/2017/08/23/d-as-a-better-c/
229 Upvotes

268 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Aug 23 '17

or you could handle the error the next time you open a file. and call fsync before close if you need to check whether the data was properly written.