ref: c7d9da8f5a41b833946027c802e0e8d7dd014b22
dir: /sys/src/cmd/upas/fs/extra/strtotmtst.c/
#include "strtotm.c" void main(int argc, char **argv) { Tm tm; ARGBEGIN{ }ARGEND for(; *argv; argv++) if(strtotm(*argv, &tm) >= 0) print("%s", asctime(&tm)); else print("bad\n"); exits(""); }