SC_SLEEP(2)
SCORE-D SYSTEM CALLS
SC_SLEEP(2)
NAME
sc_sleep - sleep for a specified number of seconds

SYNOPSIS
#include <sc.h>

int sc_sleep(int sec);

DESCRIPTION

sc_sleep() sleeps for sec seconds.

RETURN VALUES
sc_sleep() returns 0 on success or returns the following error number:

ERRORS
EINVAL
sec is a negative number
EINTR
Job is restarted from a checkpoint during the sleep.


CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003 PC Cluster Consortium.