Language

Os.Memfd_create(String, Int32) Method

Definition

[Android.Runtime.Register("memfd_create", "(Ljava/lang/String;I)Ljava/io/FileDescriptor;", "", ApiSince=30)]
public static Java.IO.FileDescriptor Memfd_create(string name, int flags);
[<Android.Runtime.Register("memfd_create", "(Ljava/lang/String;I)Ljava/io/FileDescriptor;", "", ApiSince=30)>]
static member Memfd_create : string * int -> Java.IO.FileDescriptor

Parameters

name
String

The name used to identify the anonymous file for debugging.

flags
Int32

The MFD_* flags that control creation of the anonymous file.

Returns

A file descriptor for the new anonymous memory-backed file.

Attributes

Remarks

See memfd_create(2).

Java documentation for android.system.Os.memfd_create(java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to