home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / Fdup.2 < prev    next >
Encoding:
Text File  |  1993-03-03  |  754 b   |  67 lines

  1.  
  2.  
  3.  
  4. FDUP(2)                 MiNT SYSTEM CALLS                 FDUP(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Fdup - duplicate a standard file handle
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        #include <osbind.h>
  12.  
  13.        int Fdup(int handle);
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        A  duplicate file handle is returned for the standard han-
  17.        dle indicated by handle.
  18.  
  19.        Standard handles are:
  20.          0   keyboard (stdin)
  21.          1   screen (stdout)
  22.          2   serial port
  23.          3   parallel port
  24.          4   MIDI input        (MiNT)
  25.          5   MIDI output       (MiNT)
  26.  
  27. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  28.        F✓Ff✓fo✓or✓rc✓ce✓e(✓(2✓2)✓),✓, F✓Fc✓cn✓nt✓tl✓l(✓(2✓2)✓)
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. MiNT docs 0.1              3 March 1993                         1
  65.  
  66.  
  67.