addcomment.3
来自「speech signal process tools」· 3 代码 · 共 41 行
3
41 行
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)addcomment.3 1.8 20 Oct 1987 ESI.TH ADD_COMMENT 3\-ESPSu 20 Oct 1987.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEadd_comment \- adds a string to the comment field of a ESPS file header.SH SYNOPSIS.ft Bvoid add_comment (hd, text).brstruct header *hd;.brchar *text;.ft.SH DESCRIPTION.I add_commentappends the null terminated string pointed to by\fItext\fR to the field \fIvariable.comment\fR in the ESPS header pointed to by \fIhd\fR.The maximum length of the comment field is MAX_STRING, defined in.I <esps/header.h>.If there is not enough room left in the comment field for thenew text, then the function prints a warning to \fIstderr\fR.In most cases, ESPS programs will add new-line terminated strings tothe comment field, making notes of processing steps. This function doesnot, however, add a new-line to the text passed through it..PPSince \fIadd_source_file\fR(3\-ESPSu) copies the comments from the source fileto \fIvariable.comment\fR, in most cases \fIadd_comment\fR should be used only afterall calls to \fIadd_source_file\fR have been made..SH EXAMPLEadd_comment (hd, get_cmd_line (argv, argc));.br/* appends program command line to hd \-> variable.comment */.SH BUGSNone known..SH SEE ALSOESPS(5\-ESPS).SH AUTHORAlan Parker
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?