The methods of Mono.Unix.UnixMarshal are listed below. For a list of all members, see the UnixMarshal Members list.
See Also: Inherited members from System.Object
static | AllocHeap(long)Allocates size bytes from the system heap. | |
static | FreeHeap(IntPtr)Frees the memory referenced by ptr. | |
static | GetErrorDescription(Mono.Unix.Native.Errno)Gets a description for the error code errno. | |
static | PtrToString(IntPtr)Allocates a managed string and marshals the unmanaged string into the managed string. | |
static | PtrToString(IntPtr, System.Text.Encoding)Allocates a managed string and marshals the unmanaged string into the managed string using the specified encoding. | |
static | PtrToStringArray(IntPtr)Allocates a string array and unmarshals the unmanaged string array into a managed string array. | |
static | PtrToStringArray(int, IntPtr)Allocates a string array and unmarshals the unmanaged string array into a managed string array. | |
static | PtrToStringArray(IntPtr, System.Text.Encoding)Allocates a string array and unmarshals the unmanaged string array into a managed string array using the specified encoding. | |
static | PtrToStringArray(int, IntPtr, System.Text.Encoding)Allocates a string array and unmarshals the unmanaged string array into a managed string array using the specified encoding. | |
static | PtrToStringUnix(IntPtr)Allocates a managed string and marshals the unmanaged string into the managed string using the Mono.Unix.UnixEncoding encoding. | |
static | ReAllocHeap(IntPtr, long)Changes the size of the memory block ptr to refer to size bytes of memory on the system heap. | |
static | ShouldRetrySyscall(int)Returns a bool indicating whether a system call should be retried. | |
static | ShouldRetrySyscall(int, out Mono.Unix.Native.Errno)Returns a bool indicating whether a system call should be retried, saving the last error value for later processing. | |
static | StringToHeap(string)Allocates a copy of s on the system heap in the Mono.Unix.UnixEncoding encoding. | |
static | StringToHeap(string, System.Text.Encoding)Allocates a copy of s on the system heap in the encoding encoding. | |
static | StringToHeap(string, int, int)Allocates a copy of s on the system heap in the Mono.Unix.UnixEncoding encoding. | |
static | StringToHeap(string, int, int, System.Text.Encoding)Allocates a copy of s on the system heap in the encoding encoding. | |
static | ThrowExceptionForError(Mono.Unix.Native.Errno)Throws an exception that best matches errno. | |
static | ThrowExceptionForErrorIf(int, Mono.Unix.Native.Errno)Throws an exception that best matches errno if retval is -1. | |
static | ThrowExceptionForLastError()Throws an exception that best matches the last error returned from Mono.Unix.Native.Stdlib.GetLastError. | |
static | ThrowExceptionForLastErrorIf(int)Throws an exception that best matches the last error returned from Mono.Unix.Native.Stdlib.GetLastError if retval is -1. | |