RTEMS Logo

RTEMS 4.10.2 On-Line Library


Clock Manager sleep - Delay Process Execution

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

14.4.4: sleep - Delay Process Execution

CALLING SEQUENCE:

#include <unistd.h>

unsigned int sleep(
  unsigned int seconds
);

STATUS CODES:

This routine returns the number of unslept seconds.

DESCRIPTION:

The sleep() function delays the calling thread by the specified number of seconds.

NOTES:

This call is interruptible by a signal.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation