getespsbas.3

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

3
65
字号
.\" Copyright (c) 1991-1997 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)getespsbas.3	1.5 18 Apr 1997 ERL.ds ]W (c) 1997 Entropic Research Laboratory, Inc..TH GET_ESPS_BASE 3\-Eu 18 Apr 1997.SH NAME.nfget_esps_base \- returns a string pointing to esps base directory. .fi.SH SYNOPSIS.nf.ft B#include <esps/esps.h>char *get_esps_base(char *base_name).ft.fi.SH DESCRIPTION.PPReturns a string (char *) containing the path to the ESPS basedirectory.  Uses the environment variable ESPS_BASE if it exists,else uses the default "/usr/esps".  The path is placed in thestring parameter \fIbase_name\fR which is also returned from thefunction.  The argument provided as \fIbase_name\fRshould be large enough to hold the maximum path length of theUnix you are running.  If \fIbase_path\fR is NULL thena newly allocated string containing the ESPS base path is returned.You should deallocate the string when you are done with it..PPThe ESPS base directory is the top of the ESPS release tree.Examples of the useful directories found here are \fIlib\fR, \fIbin\fR, \fIman\fR, and \fIdemo\fR. .SH EXAMPLES.PPchar espsbase[255];.br(void) get_esps_base(espsbase);  /* string is provided */.PPchar *espsbase;.brespsbase = get_esps_base(NULL);  /* allocates new string */.SH ERRORS AND DIAGNOSTICS.PPNone.  Always returns something unless too small a string is providedwhich could cause problems if other memory addresses are overwritten..SH FUTURE CHANGES.PPNone known..SH BUGS.PPIf the user provided string is too small then who knows what will happen..SH REFERENCES.PPNone..SH "SEE ALSO".PP.nf\fIfind_esps_file\fP(3\-\s-1ESPS\s+1u), \fIbuild_filename\fP(3\-\s-1ESPS\s+1u), \fIget_esps_base\fP(1\-\s-1ESPS\s+1), \fIfind_esps_file\fP(1\-\s-1ESPS\s+1).fi.SH AUTHORKen Nelson wrote the routine and the man page..PP

⌨️ 快捷键说明

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