Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - getds http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   getDS

   Usage
   #include <io.h>
   int getDS(void);

   Description
   getDS returns the value of the data segment register.

   Example
   #include <stdio.h>
   #include <io.h>
   main()
   {
   unsigned int data_seg;
        data_seg = getDS();
        printf("The current contents of DS are %x\n",data_seg);
   }

   Return Value
   The current value in the data segment register DS is returned.


See Also: segread

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson