Module ohos_sys::native_buffer

source ·
Available on crate feature native_buffer only.
Expand description

Native Buffer bindings

The native buffer module provides APIs that you can use to apply for, use, and release the shared memory, and query memory properties. The following scenario is common for native buffer development: Use the native buffer APIs to create an OH_NativeBuffer instance, obtain memory properties, and map the corresponding ION memory to the process address space.

Source:

English Documentation Chinese Documentation

Modules§

Structs§

Functions§