The following piece of code works fine in turbo C, but does not work in borland C. it says that the following are undefined.
This is quite urgent.
the code is here...( to create a subdirectory)
union REGS inregs, outregs;
printf("\nEnter the name of sub directory that u want to create : ");
inregs.x.dx = FP_OFF(newdir);
inregs.h.ah = 0x39;
int86(0x21, &inregs, &outregs);
if( outregs.cflag != 0)
printf("\nDirectory could not be created.");