nx_unidoc.nx
buildroot/runtime/nx_unidoc.nx
about
nx_unidoc.nx -- CLI over nx_unidoc_lib: the unified document page (rung UD1 of /compare/unidoc).
nx_unidoc html <in> <out.html> [download_url] -- the doc_viewers.conf renderer interface
nx_unidoc page <in> <out.html> [download_url] [portal_base] -- the same page with the portal's forms
nx_unidoc kinds -- the kinds this page understands
Exit 0 = page written, 1 = a NAMED refusal (printed), 2 = usage. The refusal name is the whole diagnosis:
UNKNOWN-KIND, REFUSED-HTML, RENDERER-FAILED, TOO-BIG, READ-FAILED, OUT-CAP. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_unidoc_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 11 | const UC_OUT_CAP: i64 = 33554432 // 32 MiB page buffer: 8 MiB of document text cannot exceed this even fully escaped |
| 12 | const UC_USAGE: i64 = 2 |
functions
| 14 | func uc_puts(s: *u8) -> i64 { sys_write(1, s, ud_slen(s)); return 0 } |
| 15 | func uc_num(v: i64) -> i64 { nxi_out(v); return 0 } called by 1: main |
| 17 | func main(argc: i64, argv: *i64) -> i64 |