I am working on an assignment that deals with using various data structures to store and sort data. The data structures portion is fairly straight forward to me, however, I am getting hung up on the first step, reading/parsing a wtmp file. I’ve parsed several files previously, but never have I parsed a binary file. What’s the trick to parsing such a file? Thanks in advance.
Share
Try using utmp.h.