Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>getverify() get verify state</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getverify()             Get Verify State

 #include   <dos.h>

 int        getverify(void);

    getverify() gets the status of the verify flag.

       Returns:     The current status of the verify flag:

                    0    verify flag is off
                    1    verify flag is on

   Portability:     MS-DOS only.

   -------------------------------- Example ---------------------------------

    The following statements report if disk writes are currently being
    verified.

           #include <stdio.h>   /* for printf*/
           #include <dos.h>     /* for getverify */

           main()
           {
               if (getverify()== 1)
                   printf(" Disk writes are verified");
               else
                   printf("Disk writes are not verified.");
           }


See Also: setverify()

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