clSetDfcTimeout  clSuspend

Chapter 2: Bridged Functions

clSleep

Description

Causes the application to suspend execution for a specified amount of time.

int clSleep(int sleepTime);

Parameter

Description

sleepTime

Amount of time in seconds to sleep.

Return value

Integer.

Returns 1 for success, and any other value for failure.

Examples

Example 19

int delay = 5;
...
clSleep(delay);




Copyright © 2005. Sybase Inc. All rights reserved. clSuspend

View this book as PDF