fpc/docs/bunixex/ex73.pp
2004-10-22 21:57:33 +00:00

17 lines
270 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.