Next: , Previous: , Up: File Library Functions   [Index]


7.12.3.20 x1f4_pipe_lxfile

extern int x1f4_pipe_lxfile
    (void *context, const char *data, unsigned size);

The x1f4_pipe_lxfile function outputs (writes) size bytes from data on the file indicated by the second pointer in the pointer array at context. The first pointer in the array is expected to indicate the file library object.

The function is suited for the copy method in the struct x1f4_datapipe_type output device description.

See struct x1f4_datapipe_type.

See File Output Function Generation.

The function returns 0 for success, non zero for failure (one of the error class codes).

See Error Classes.