| 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
-
EINVALsec 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) 2002 PC Cluster Consortium.