ref: 3a41ce3bf314caad67c2c52a06142f7ac60611c7
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(""); }