CDIoctl (FUN)

FUNCTION CDIoctl : DINT

Control a character device file.

This function manipulates the underlying device parameters of special files.

InOut:

Scope

Name

Type

Comment

Return

CDIoctl

DINT

0 if ok or errno if failed.

Input

hFile

RTS_IEC_HANDLE

File descriptor/handle, that was previously created with Open()

dRequest

__XWORD

Request id.

dParameter

__XWORD

Request parameter.

pResult

POINTER TO DINT

Pointer to linux errno error code