ref: 52e4e51b50589ecb2b06559c28b7ce9f682815be
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(""); }