Next Previous Contents

3.48 cbm_k_open

Function

Open a Logical I/O File

Header

cbm.h

Declaration

unsigned char cbm_k_open (void);

Description

This function assigns a logical file to a device, so that it can be used for Input/Output operations. In order to specify the logical file number, the device number, and the secondary address if any, the cbm_k_setlfs() function must first be called. Likewise, in order to designate the filename, the cbm_k_setnam() function must be used first. After these two functions are called, cbm_k_open() is then called.

Limits

Availability

cc65

See also

cbm_k_close, cbm_k_setlfs, cbm_k_setnam

Example

None.


Next Previous Contents