aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/last.c
AgeCommit message (Collapse)Author
2014-05-21Make last use common llist free function, minor cleanups.Rob Landley
2014-05-10sizeof("string") treats it as a char array _including_ the null terminator, ↵Rob Landley
so strncmp(dest, "string", sizeof("string")) is just strcpy.
2014-05-10Initial cleanup of last: mostly whitespace, move no record test to start of ↵Rob Landley
loop, don't bother to stat an empty file to report when an empty log was created (just report current time).
2014-04-23usage: is lower case (the help generator looks for that, might as well be ↵Rob Landley
consistent).
2013-12-23Two more commands (last and more) submitted by Ashwini Sharma.Rob Landley