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

📄 findexec.3

📁 linux系统下的音频通信
💻 3
字号:
'\"'\" Copyright (c) 1995-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) FindExec.3 1.4 96/10/09 08:29:29'\" .so man.macros.TH Tcl_FindExecutable 3 7.5 Tcl "Tcl Library Procedures".BS.SH NAMETcl_FindExecutable, Tcl_GetNameOfExecutable \- identify or return the name of the binary file containing the application.SH SYNOPSIS.nf\fB#include <tcl.h>\fR.spchar *\fBTcl_FindExecutable\fR(\fIargv0\fR).spCONST char *\fBTcl_GetNameOfExecutable\fR().SH ARGUMENTS.AS char *argv0 in.AP char *argv0 inThe first command-line argument to the program, which gives theapplication's name..BE.SH DESCRIPTION.PPThe \fBTcl_FindExecutable\fR procedure computes the full path name ofthe executable file from which the application was invoked and savesit for Tcl's internal use.The executable's path name is needed for several purposes inTcl.  For example, it is needed on some platforms in theimplementation of the \fBload\fR command.It is also returned by the \fBinfo nameofexecutable\fR command..PPOn UNIX platforms this procedure is typically invoked as the veryfirst thing in the application's main program;  it must be passed\fIargv[0]\fR as its argument.  \fBTcl_FindExecutable\fR uses \fIargv0\fRalong with the \fBPATH\fR environment variable to find theapplication's executable, if possible.  If it fails to findthe binary, then future calls to \fBinfo nameofexecutable\fRwill return an empty string..PP\fBTcl_GetNameOfExecutable\fR simply returns a pointer to theinternal full path name of the executable file as computed by\fBTcl_FindExecutable\fR.  This procedure call is the C APIequivalent to the \fBinfo nameofexecutable\fR command.  NULLis returned if the internal full path name has not beencomputed or unknown..SH KEYWORDSbinary, executable file

⌨️ 快捷键说明

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