Skip to main content

printaliasnode

Function printaliasnode 

Source
pub fn printaliasnode(hn: &alias, printflags: i32)
Expand description

Port of printaliasnode(HashNode hn, int printflags) from Src/hashtable.c:1256.

Emits whence-style output for one alias with PRINT_NAMEONLY / PRINT_WHENCE_WORD / PRINT_WHENCE_SIMPLE / PRINT_WHENCE_CSH / PRINT_WHENCE_VERBOSE / PRINT_LIST flag dispatch. PRINT_LIST falls through to the tail quotedzputs(nam) '=' quotedzputs(text) '\n'; every other branch returns early.