> getdta() in c ~ Online tutorial

getdta() in c

getdta() gets disk-transfer address
Declaration:
char far *getdta(void);
Remarks:
getdta returns the current setting of the disk transfer address (DTA).
Return Value:
getdta returns a far pointer to the current DTA
Program



#include <dos.h>
#include <stdio.h>

int main(void)
{
   char far *dta;

   dta = getdta();
   printf("The current disk transfer address is: %Fp\n", dta);
   return 0;
}

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: