⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 malloc.3

📁 speech signal process tools
💻 3
字号:
.\" Copyright (c) 1987-1990 Entropic Speech, Inc..\" Copyright (c) 1997 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)malloc.3	1.3 18 Apr 1997 ESI/ERL.ds ]W (c) 1997 Entropic Research Laboratory, Inc..TH MALLOC 3\-ESPSu 18 Apr 1997.SH "NAME"malloc_s \- call Unix memory allocator for shorts.brmalloc_i \- call Unix memory allocator for ints.brmalloc_l \- call Unix memory allocator for longs.brmalloc_f \- call Unix memory allocator for floats.brmalloc_d \- call Unix memory allocator for doubles.SH "SYNOPSIS".ft B#include <esps/esps.h>.PP.ft B.nfshort *malloc_s(n)unsigned n;.spint *malloc_i(n)unsigned n;.splong *malloc_l(n)unsigned n;.spfloat *malloc_f(n)unsigned n;.spdouble *malloc_d(n)unsigned n;.fi.ft R.SH "DESCRIPTION".PPThese macros call \fImalloc\fR(3C) to allocate a block of memory of size\fIn\fR of the correct type (depending on which macro was used)..PPThese macros are defined in \fI<esps/esps.h>\fR and should not bedeclared in your program..SH EXAMPLE.PP.nf\fI/* get a block of 100 floats and shorts */\fRfloat *fptr;short *sptr;.spfptr = malloc_f(100);sptr = malloc-s(100);.fi.SH DIAGNOSTICS.PP.SH "SEE ALSO".PP.nf\fImalloc\fP(3), \fIcalloc\fP(3), \fIcalloc\fP(3\-ESPSu).fi

⌨️ 快捷键说明

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