See Also: UnixMarshal Members
The UnixMarshal class consists of many members to facilitate the System.Runtime.InteropServices.Marshal class, specifically for use with Unix.
The following table assigns each method to a category that describes its usage:
| Category | Members |
|---|---|
| Data Transformation |
Managed to unmanaged: UnixMarshal.StringToHeap, Unmanaged to managed: UnixMarshal.PtrToString, UnixMarshal.PtrToStringArray, UnixMarshal.PtrToStringUnix |
| Error Handling | UnixMarshal.GetErrorDescription, UnixMarshal.ShouldRetrySyscall, UnixMarshal.ThrowExceptionForError, UnixMarshal.ThrowExceptionForErrorIf, UnixMarshal.ThrowExceptionForLastError, UnixMarshal.ThrowExceptionForLastErrorIf |
| Memory Management | UnixMarshal.AllocHeap, UnixMarshal.ReAllocHeap, UnixMarshal.FreeHeap |