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


usleep

Syntax

#include <unistd.h>

unsigned usleep(unsigned usec);

Description

This function pauses the program for usec microseconds.

Return Value

The number of unslept microseconds (i.e. zero).

Portability

not ANSI, not POSIX

Example

usleep(500000);


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

  prev next   webmaster     delorie software   privacy  
  Copyright © 1998     Updated Dec 1998