|author||Mark Seaborn <firstname.lastname@example.org>||Wed Apr 11 17:30:39 2018 -0700|
|committer||Mark Seaborn <email@example.com>||Wed Apr 11 17:30:39 2018 -0700|
[cmd] Open zedmon.csv with O_TRUNC, i.e. truncate the file Opening the file without truncating it only really makes sense if we are appending to the file. Also, O_RDWR isn't necessary: we can use O_WRONLY instead. Change-Id: Ie0f1b142d08a4a3a77c52c5850814ab0cee80314
Zedmon is a device for measuring power consumption of electronics. It was created to assist the Fuchsia power management efforts.