|
发表于 2007-1-4 15:01:46
|
显示全部楼层
这个是标准库文件中的函数
VC++的头文件STDLIB.H中这样申明
#ifndef _MAC
_CRTIMP int __cdecl system(const char *);
#endif
ADS的stdlib.h中这样申明
extern int system(const char * /*string*/);
/*
* passes the string pointed to by string to the host environment to be
* executed by a command processor in an implementation-defined manner.
* A null pointer may be used for string, to inquire whether a command
* processor exists.
*
* Returns: If the argument is a null pointer, the system function returns
* non-zero only if a command processor is available. If the
* argument is not a null pointer, the system function returns an
* implementation-defined value.
*/ |
|