Skip to content

initdos

Thomas Foster edited this page Mar 22, 2021 · 2 revisions

Function   Initialize LibDOS.

Syntaxvoid initdos(void);

Prototype in   dos.h

Return value   None.

See alsoquitdos

Remarks

initdos initializes LibDOS. This should usually be called at the start of the program after any initialization options, such as setscreensize.

Example

/* custom initialization */
textmode(C40);
setscreensize(20, 20);
setcursor(CURSOR_NONE);

initdos();

Header Files

Clone this wiki locally