fpc/docs/linuxex/ex52.pp
1998-03-25 11:26:49 +00:00

12 lines
259 B
ObjectPascal

Program Example52;
{ Program to demonstrate the GetFS function. }
Uses linux;
begin
Writeln ('File descriptor of input ',getfs(input));
Writeln ('File descriptor of output ',getfs(output));
Writeln ('File descriptor of stderr ',getfs(stderr));
end.