executable.h

来自「linux 下的源代码分析阅读器 red hat公司新版」· C头文件 代码 · 共 31 行

H
31
字号
// $Header$#ifndef executable_h#define executable_h// Searches PATH for the given executable; returns a malloc()'d copy// of the path to the executable, which the caller should delete when// done with.char* which_executable( const char* exec_name );class Executable {    public:	Executable( const char* arg_executable );	virtual ~Executable();	int ExecError()	{ return exec_error; }	// true if the executable is still "out there"	virtual int Active() = 0;	virtual void Ping() = 0;    protected:	char* executable;	int exec_error;	int has_exited;	};#endif	/* executable_h */

⌨️ 快捷键说明

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