home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!sgiblab!news.cs.indiana.edu!yhlin@kiwi.ucs.indiana.edu
- From: yhlin@kiwi.ucs.indiana.edu (yue-herng lin)
- Newsgroups: comp.os.msdos.misc,in.pc
- Subject: Re: Reboot a PC from a batch file.
- Message-ID: <1992Aug28.231140.16049@news.cs.indiana.edu>
- Date: 29 Aug 92 04:11:33 GMT
- References: <Btp7FK.3qH@mentor.cc.purdue.edu> <19920828.103054.543@almaden.ibm.com> <1992Aug28.232022.14579@dartvax.dartmouth.edu>
- Organization: Indiana University, Bloomington
- Lines: 9
-
- Here's a sample code that you can use Turbo C(++) to do:
-
- #include <dos.h>
- void far (*func_ptr)();
- main()
- {
- func_ptr = (void far *)0xffff0;
- (*func_ptr)();
- }
-