Go to the first, previous, next, last section, table of contents.


delay

Syntax

#include <dos.h>

void delay(unsigned msec);

Description

This function causes the program to pause for msec milliseconds. It uses the int 15h delay function to relinquish the CPU to other programs that might need it.

Return Value

None.

Portability

not ANSI, not POSIX

Example

delay(200); /* delay for 1/5 second */


Go to the first, previous, next, last section, table of contents.