[erlang-questions] Opening files in O_TRUNC mode

Krishna Sai Veera Reddy veerareddy@REDACTED
Mon Oct 1 22:48:24 CEST 2018


Opening file in `write` only mode seems to truncate the file but for
whatever reason when `append` mode is also used the file doesn't truncate.
Was this intentional?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181001/481e3d3a/attachment.htm>

More information about the erlang-questions mailing list