prg_string_free()
摘要
释放与已分配字符串相关的内存。
语法
prg_string_free (allocated_string)
| 参数 | 类型 | 说明 |
|---|---|---|
allocated_string |
char * |
要释放其内存的字符串缓冲区。 |
返回类型
void
无返回值。
头文件
prg_string_funcs.h
详情
如果传入 NIL 作为已分配的字符串,该函数不做任何操作。
释放与已分配字符串相关的内存。
prg_string_free (allocated_string)
| 参数 | 类型 | 说明 |
|---|---|---|
allocated_string |
char * |
要释放其内存的字符串缓冲区。 |
void
无返回值。
prg_string_funcs.h
如果传入 NIL 作为已分配的字符串,该函数不做任何操作。