Skip to content

initmainargs

Init struct of the mainargs from current process

    XMAINARGS       = $2C
    XGETARGV        = $2E
    argv            := userzp   ; 2 bytes
    argc            := userzp+2 ; 1 byte

    initmainargs argv, argc, 0

Last update: 2022-11-22