/* This program is a test program written by David Scheall on 6-15-87
This program will show the current DOS Environment Settings. */
main(argc, argv, envp)
int argc;
char **argv;
char **envp;
{
register char **p;
/* print out the argument list for this program */
for (p = argv; argc > 0; argc--,p++) {
printf("%s\n", *p);
}
/* print out the current environment settings. Note that
* the environment table is terminated by a NULL entry
*/
for (p = envp; *p; p++) {
printf("%s\n", *p);
}
exit(0);
}
wlnc.rar_The Dos_Windows编程_potatoesxdm
版权申诉
99 浏览量
2022-09-24
23:38:07
上传
评论
收藏 6KB RAR 举报
Kinonoyomeo
- 粉丝: 77
- 资源: 1万+