1 Star 0 Fork 4.9K

Lin_bruin / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
osal_mem-h.md 3.30 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

osal_mem.h

Overview

Related Modules:

OSAL

Description:

Declares the driver memory request and release interfaces.

Since:

1.0

Version:

1.0

Summary

Functions

Function Name

Description

OsalMemAlloc (size_t size)

void * 

Allocates memory of a specified size.

OsalMemCalloc (size_t size)

void * 

Allocates memory of a specified size, and clears the allocated memory.

OsalMemAllocAlign (size_t alignment, size_t size)

void * 

Allocates memory of a specified size, and aligns the memory address on a given boundary.

OsalMemFree (void *mem)

void 

Releases memory.

1
https://gitee.com/dreaminghell/docs.git
git@gitee.com:dreaminghell/docs.git
dreaminghell
docs
docs
master

搜索帮助