Skip to content

BinFmt

Defined in: src/fs/exec.ts:31

A way of loading a program, like struct linux_binfmt.

optional interpreter?: string

Defined in: src/fs/exec.ts:35

What runs a program of this format, or nothing when the program runs itself


name: string

Defined in: src/fs/exec.ts:32

optional load(prm): void

Defined in: src/fs/exec.ts:37

Rewrite what is being loaded, the way a #! line does. The search then starts over on the new program.

BinPrm

void


matches(prm): boolean

Defined in: src/fs/exec.ts:33

BinPrm

boolean