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