home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
batch
/
dosreqtools
/
dosextensions
/
extsrc
/
addpart.c
next >
Wrap
C/C++ Source or Header
|
1994-11-26
|
430b
|
35 lines
#include <string.h>
#include <stdio.h>
main (int argc, char **argv)
{
int retval = 0;
if (argc == 3)
{
char buf[256];
strcpy (buf, argv[1]);
if (AddPart (buf, argv[2], 256))
{
fprintf (stdout, "%s\000", buf);
retval = 0;
}
else
{
retval = 10;
}
}
else
{
fprintf (stderr, "usage: %s path filename\n", argv[0]);
retval = 10;
}
return (retval);
}