2
0

ex52.pp 259 B

1234567891011
  1. Program Example52;
  2. { Program to demonstrate the GetFS function. }
  3. Uses linux;
  4. begin
  5. Writeln ('File descriptor of input ',getfs(input));
  6. Writeln ('File descriptor of output ',getfs(output));
  7. Writeln ('File descriptor of stderr ',getfs(stderr));
  8. end.