code wiki / .nxlsp / nx_lineconf_lib.nx

nx_lineconf_lib.nx

buildroot/runtime/.nxlsp/nx_lineconf_lib.nx

2933 B83 linesdepth 2pulls 2 transitivereach 511 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_lineconf_lib.nx -- LINE-ANCHORED CONF READER, ONE OWNER (shared lib, 2026-08-24). "key=value" rows, matched only at the START of a line, so a number inside a comment can never be read as a setting (the defect rg_conf / rm_conf / ba_conf each re-implemented privately to avoid). Integer values: digits only, a missing or non-numeric row returns LCF_MISS -- callers REFUSE on it rather than default silently. String values: the bytes after '=' up to end of line, CR trimmed. license_tier: ORIGINAL

dependencies 1 imports · 28 importers

nx_syscalls.nx nx_lineconf_lib.nx nx_accept_lib.nx nx_browser_struct_col_lib.nx nx_communitypulse.nx nx_compare_shared_fit_lib_20260910 nx_craft_erosion_shot.nx nx_dbg_step.nx nx_folkgame_align_gate.nx nx_folkgame_play.nx nx_inc_compile.nx nx_lang_h2h.nx

diagram shows first 10 each side; +0 more imports, +18 more importers in the complete lists below.

imports: nx_syscalls.nx

imported by: nx_accept_lib.nxnx_browser_struct_col_lib.nxnx_communitypulse.nxnx_compare_shared_fit_lib_20260910.nxnx_craft_erosion_shot.nxnx_dbg_step.nxnx_folkgame_align_gate.nxnx_folkgame_play.nxnx_inc_compile.nxnx_lang_h2h.nxnx_langspec.nxnx_lsp.nxnx_osattest.nxnx_osattest_gate.nxnx_ownership_gate.nxnx_pkg.nxnx_sc_scope_gate.nxnx_sitededup_lib.nxnx_sitesweep.nxnx_swcompare_evidence_lib_t138.nxnx_swcompare_growth_candidate_20260910.nxnx_swcompare_heading_lib_20260907.nxnx_swcompare_ladder_candidate.nxnx_swcompare_lib.nxnx_swcompare_preview_lib_t56.nxnx_swcompare_production_lib_20260907.nxnx_swcompare_release_candidate.nxnx_thread_pool.nx

structs

none

consts

10const LCF_MISS: i64 = 0 - 999999
11const LCF_NL: i64 = 10
12const LCF_CR: i64 = 13
13const LCF_EQ: i64 = 61
14const LCF_ZERO: i64 = 48
15const LCF_NINE: i64 = 57
16const LCF_DECIMAL: i64 = 10
17const LCF_WORD: i64 = 8

functions

20func lcf_find(buf: *u8, n: i64, key: *u8) -> i64
39func lcf_int(buf: *u8, n: i64, key: *u8) -> i64
57func lcf_str(buf: *u8, n: i64, key: *u8, out: *u8, cap: i64) -> i64
72func lcf_int_of(path: *u8, key: *u8) -> i64
78func lcf_str_of(path: *u8, key: *u8, out: *u8, cap: i64) -> i64