Miroslav Lachman <[email protected]> wrote: > > I don't know it this is of any help (I am not the C dev), but I just > found this patch for version 1.4 for utmpx > > https://github.com/pld-linux/whowatch/blob/master/whowatch-utmpx.patch
That just seems to be a patch to alter the filename, and some of the variable names, but not much else. Even if that works, it would be better to use the utmpx functions (getutxent) etc. rather than open and read the file directly. Cheers, Jamie
