typesiz.3

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

3
49
字号
.\" Copyright (c) 1989 Entropic Speech, Inc.; All rights reserved.\" @(#)typesiz.3	1.1 27 Sep 1989 ESI.TH TYPESIZ 3\-ESPSu 27 Sep 1989.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..if t .ds - \(em\h'-0.2m'\(em.if n .ds - ---.SH NAMEtypesiz \- return the size of an element of a given ESPS data type.SH SYNOPSIS.ft B.nf#include <esps/esps.h>inttypesiz(type)int type;.ft.SH DESCRIPTION.PPThe argument should be one of the integer type codesDOUBLE, FLOAT, LONG, SHORT, CHAR, DOUBLE_CPLX, FLOAT_CPLX, LONG_CPLX,SHORT_CPLX, BYTE_CPLX, CODED, BYTE, EFILE, and AFILEdefined in the ESPS include file.I esps.h.The resultis the size, in bytes, of a single element of the given type,as stored in memory\*-\cfor example,.IR sizetyp ( DOUBLE ") ==".IR sizeof ( double ).BYTE has the same size as CHAR,andCODED has the same size as SHORT.EFILE and AFILE have the same size as CHAR,since they are represented as character arrays..SH DIAGNOSTICS.PPIf.I typeis not a valid type code,.I typesizprints an error message, and the program exits..SH BUGS.PPNone known..SH AUTHOR.PPAlan Parker

⌨️ 快捷键说明

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