www.delorie.com/djgpp/doc/libc-2.01/libc_112.html   search  
Go to the first, previous, next, last section, table of contents.


delay

Syntax

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.

Example

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


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997