version 1.16, 2013/09/20 06:02:19 |
version 1.17, 2020/10/06 11:33:47 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/shell.c,v 1.15 2012/10/29 02:51:41 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/shell.c,v 1.16 2013/09/20 06:02:19 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#include <sys/types.h> |
#include <sys/types.h> |
Line 64 void KoxShellHelp(char *key,FILE *fp) { |
|
Line 64 void KoxShellHelp(char *key,FILE *fp) { |
|
for (i=0; strcmp(keys[i],"@@@@gatekeeper") != 0; i++) { |
for (i=0; strcmp(keys[i],"@@@@gatekeeper") != 0; i++) { |
fprintf(fp,"%s\n",keys[i]); |
fprintf(fp,"%s\n",keys[i]); |
KoxShellHelp(keys[i],fp); |
KoxShellHelp(keys[i],fp); |
fprintf(fp,"\n",keys[i]); |
fprintf(fp,"%s\n",keys[i]); |
} |
} |
return; |
return; |
} |
} |
Line 199 static int mysetenv(char *name, char *value, int overw |
|
Line 199 static int mysetenv(char *name, char *value, int overw |
|
|
|
/* bug on Solaris. It does not unsetenv. |
/* bug on Solaris. It does not unsetenv. |
libc4, libc5, glibc. It does unsetenv. */ |
libc4, libc5, glibc. It does unsetenv. */ |
static myunsetenv(char *name) { |
static int myunsetenv(char *name) { |
return(putenv(name)); |
return(putenv(name)); |
} |
} |
|
|