23 #include <sys/utsname.h> 24 #include <sys/types.h> 59 inline int uname(utsname* name)
136 inline char*
getenv(
const char *name)
179 GetOpt(
int argc,
char*
const argv[],
const char* opt,
int flag)
241 if(::
optind == optind_last)
252 if(optind_last <
m_argc) { ++optind_last; }
int m_argc
オプション文字が足りない時、多い時にセットされる
int operator()()
Parses the command line arguments.
pid_t getppid()
Get process ID of the parent process.
GetOpt(int argc, char *const argv[], const char *opt, int flag)
Constructor.
::pid_t pid_t
Get process ID of the caller process.
int uname(utsname *name)
Get System information.
static int getopt(int nargc, char *const *nargv, const char *ostr)
Function of parses the command line arguments.
char * getenv(const char *name)
Get environment variable.
int optopt
エラー表示 0:抑止、1:表示
ACE_utsname utsname
Get System information.
Common Object Interface Layer.