version 1.7, 2009/02/19 15:48:26 |
version 1.10, 2015/08/08 14:19:41 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/help.c,v 1.6 2009/02/14 08:46:14 takayama Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/help.c,v 1.9 2015/08/06 10:01:52 fujimoto Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
if ( !s ) |
if ( !s ) |
ghelp(); |
ghelp(); |
else { |
else { |
#if !defined(VISUAL) |
#if !defined(VISUAL) && !defined(__MINGW32__) && !defined(__MINGW64__) |
int i; |
int i; |
FUNC f; |
FUNC f; |
char name[BUFSIZ],com[BUFSIZ]; |
char name[BUFSIZ],com[BUFSIZ]; |
|
|
if ( f && f->id == A_USR && f->f.usrf->desc ) |
if ( f && f->id == A_USR && f->f.usrf->desc ) |
fprintf(stderr,"%s\n",f->f.usrf->desc); |
fprintf(stderr,"%s\n",f->f.usrf->desc); |
} |
} |
|
#else |
|
FUNC f; |
|
gen_searchf_searchonly(s,&f); |
|
if ( f && f->id == A_USR && f->f.usrf->desc ) |
|
fprintf(stderr,"%s\n",f->f.usrf->desc); |
|
|
#endif |
#endif |
|
#if defined(__MINGW32__) || defined(__MINGW64__) |
|
fflush(stderr); |
|
#endif |
} |
} |
} |
} |
|
|
|
|
|
|
for ( i = 0; ghelpstr[i]; i++ ) |
for ( i = 0; ghelpstr[i]; i++ ) |
fprintf(stderr,"%s\n",ghelpstr[i]); |
fprintf(stderr,"%s\n",ghelpstr[i]); |
|
#if defined(__MINGW32__) || defined(__MINGW64__) |
|
fflush(stderr); |
|
#endif |
} |
} |