opto_pic_init

int opto_pic_init (
    int fd,
    unsigned char* ltim
);

Description

Initializes the on-board interrupt controller PIC 8259. Calling this function basically changes the way interrupts are triggered. The interrupts will be teporarily disabled during the call and reenabled again when the call completes.

Parameters

This function accepts the following parameters:

Return Values

On success, the function will return 0. On failure, it will return a non-null value, which is one of standard error codes.