home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
BDSC
/
BDSC-3
/
SD.CQ
/
SD.C
Wrap
Text File
|
2000-06-30
|
512b
|
29 lines
/*
SD.C
Written by Leor Zolman, 3/82
By saying:
A>sd foo
this simulates:
A>sid foo.com foo.sym
SID.COM must reside in the current directory.
*/
main(argc,argv)
char **argv;
{
char comname[20], symname[20];
if (argc != 2) {
puts("Usage: sd name <cr>\n");
puts("(does: sid name.com name.sym)\n");
exit();
}
strcpy(comname,argv[1]);
strcpy(symname,comname);
strcat(comname,".com");
strcat(symname,".sym");
execl("sid",comname,symname,0);
}