鲲鹏社区
Developers
Home
Technical Topics
Development Resources
Learning
More
Home
Products
Solutions
Developers
More
Hardware
TaiShan Servers
TaiShan BMC
General Server Components
Software
openFuyao
openGauss
openEuler
openUBMC
Industry Solutions
Public Sectors
Carrier
Finance
Electric Power
Manufacturing
Transportation
Internet
HPC Solutions
Meteorology
Life Sciences
Education & Research
Manufacturing
Semiconductor
Oil & Gas
General Solutions
Security
RAG
Scenarios
Omni-platform Development Pipeline
Tools
DevKit
Documentation
Rate This Document
Findability
Accuracy
Completeness
Readability
SubmitClose

free

Function Usage

Free the allocated memory.

Function Syntax

void free(void *p);

Parameters

Parameter

Description

Value Range

Input/Output

p

Pointer to the memory to be freed.

The value cannot be NULL.

Input

Parent topic: Function Syntax

版权所有 © 2021-2026华为技术有限公司 保留一切权利 粤A2-20044005号

法律声明
隐私政策
Cookie协议
用户协议
联系我们