aboutsummaryrefslogtreecommitdiffstats
path: root/c/args.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tools: wc, head, and an argc/argv demo (args) + libc.c helpersuser2026-07-161-0/+12
- c/libc.c: shared C helpers linked into every program - putu (print decimal), atou (parse decimal), argv_parse (tokenize getargs() into argc/argv). - wc: count lines/words/chars of stdin. head [n]: first n lines (drains rest to EOF). args: argc/argv demo. - pid now uses libc putu; build.sh links libc.c; Makefile CBLOBS + libc dep. - README: document the new tools + argv_parse. - verified: 'args one two three' -> argc=3/argv[..]; wc '2 3 16'; head 2.