savestring.3

来自「speech signal process tools」· 3 代码 · 共 31 行

3
31
字号
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)savestring.3	1.5 14 Apr 1988 ESI.TH SAVESTRING 3\-ESPSu 14 Apr 1988.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEsavestring \- save a string in dynamic memory.SH SYNOPSIS.ft Bchar *.brsavestring (text).brchar *text;.ft.SH DESCRIPTION.PP.I savestringallocates dynamic memory for a string, copies the argument string to thecopied space, and returns a pointer to the copy. If the argument is NULL,no space is allocated and NULL is returned..PPThe dynamic memory may be reclaimed with free(3C)..SH DIAGNOSTICSIf enough dynamic memory cannot be allocated, savestring returns NULL..SH SEE ALSOcalloc(3C), free(3C), malloc(3C).SH AUTHORJoe Buck

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?