📄 copyfeafld.3
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)copyfeafld.3 1.5 30 Apr 1997 ESI.TH COPY_FEA_FLD 3\-ESPSu 30 Apr 1997.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEcopy_fea_fld \- replicate a feature field definition.SH SYNOPSIS.ft B#include <esps/fea.h>.brint.brcopy_fea_fld(hd1, hd2, name).brstruct header *hd1;.brstruct header *hd2;.brchar *name;.ft.SH DESCRIPTION.I copy_fea_fldattempts to add a definition of the feature field \fIname\fP from\fIhd2\fP to \fIhd1\fP. If \fIname\fP exists in \fIhd2\fP, thena corresponding field with the same name, size, rank, etc. iscreated in \fIhd1\fP (see FEA(5\-ESPS) for details concerningfeature field definitions). Only the field definition is copied,not the actual data contents of the feature field \fIname\fP. Theprogram returns a zero if successful..PPIf \fIname\fP is either NULL or does not exist in \fIhd2\fP, theprogram returns a -1.The program prints a message on stderr and terminatesif either \fIhd1\fP or \fIhd2\fP do not point to ESPS Feature Fileheaders..SH EXAMPLE.if n .ta 33.if t .ta 3i.nfstruct header *hd1, *hd2;if (copy_fea_fld(hd1,hd2,"field_name") == -1) . . . /* trouble */.fi.SH DIAGNOSTICS.nfcopy_fea_fld: called with non fea hd.fi.SH BUGSNone known..SH SEE ALSO.PP.nf\fIadd_fea_fld\fR(3\-ESPSu), \fIcopy_fea_fields\fR(3\-ESPSu), \fIcopy_fea_rec\fR(3\-ESPSu), FEA(5\-ESPS).fi.SH AUTHORMan page by Ajaipal S. Virdy.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -