Skip to content

XCLOSE

Description

Close file

Input

A : fd

Output

Modify

RESB

Samples

Example

    .include "telestrat.inc"

    lda     MYFD ; MYFD contains the value of the fd (returns of fopen)
    BRK_KERNEL XCLOSE
    rts

See fclose macro from orix-sdk to use it