TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Paul Edwards
date: 1996-11-08 15:02:34
subject: reboot

PE> Can someone please send me code that will do a 
PE> reboot(). Thanks + bye.  Paul.

PF> rc = DosOpen("DOS$", &hf, &dummy, 0L, FILE_NORMAL,
FILE_OPEN,
PF> printf("DOS.SYS not installed (sys%04u)\n", rc);

I have added your code to OZPD, thanks.

Can you now tell me:

1. Where is the DOS.SYS documentation?  (typing "HELP DOS.SYS" at
the OS/2 prompt doesn't give me help on that).

2. Is it documented that putting a $ sign on the end of DosOpen starts
communication with the driver of that name?  (GUIREF20 for DosOpen doesn't
appear to make a mention of that).

3. Where are those DosDevIOCtl's documented?  The documention on
DosDevIOCtl in GUIREF20 does not appear to list those function codes. BFN. 
Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.