CDMunmap
(FUN)
FUNCTION CDMunmap : DINT
Unmap files or devices into memory. The munmap() system call deletes the mappings for the specified address range.
- InOut:
Scope
Name
Type
Comment
Return
CDMunmap
DINT
0 on success, -1 if failed.
Input
addr
POINTER TO BYTE
Pointer to starting address
length
UDINT
Number of bytes mapped
pResult
POINTER TO DINT
Pointer to linux errno error code, 0 is ok