CDRead (FUN)ΒΆ
FUNCTION CDRead : DINT
Read from a character device file. Read() attempts to read up to count bytes from file handle hFile into the buffer starting at buf.
- InOut:
Scope
Name
Type
Comment
Return
CDReadDINTNr of Bytes copied.
Input
hFileRTS_IEC_HANDLEFile descriptor/handle, that was previously created with Open()
pbyBufferPOINTER TO BYTE
Buffer to copy bytes into.
udCountUDINTNr of bytes to copy.
pResultPOINTER TO DINT
Pointer to linux errno error code, 0 is ok