fpc/docs/bunixex/ex73.pp
2005-02-14 17:13:06 +00:00

17 lines
267 B
ObjectPascal

program example73;
{ Program to demonstrate the FpSleep function. }
uses BaseUnix;
Var
Res : Longint;
begin
Write('Sleep returned : ');
Flush(Output);
Res:=(fpSleep(10));
Writeln(res);
If (res<>0) then
Writeln('Remaining seconds : ',res);
end.