Delete comment from: Ken Shirriff's blog
I'm surprised your code in [2] works. There definitely was a time when you had to write the first byte of the file to get the kernel to accept the new value. Many people used lseek(, 0, SEEK_SET) or reopened the file and I was proud to have thought of pwrite(,,, 0) to do both in one syscall.
Aug 20, 2016, 2:30:17 AM
Posted to The BeagleBone's I/O pins: inside the software stack that makes them work

