


      FFFFCCCCNNNNTTTTLLLL((((5555))))                    ((((UUUUNNNNIIIIXXXX 5555....0000))))                   FFFFCCCCNNNNTTTTLLLL((((5555))))



      NNNNAAAAMMMMEEEE
           fcntl - file control options

      SSSSYYYYNNNNTTTTAAAAXXXX
           ####iiiinnnncccclllluuuuddddeeee <<<<ffffccccnnnnttttllll....hhhh>>>>

      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
           The _f_c_n_t_l(2B) function provides for control over open files.
           This include file describes _r_e_q_u_e_s_t_s and _a_r_g_u_m_e_n_t_s to _f_c_n_t_l
           and _o_p_e_n(2B).

           /* Flag values accessible to open(2B) and fcntl(2B) */
           /*  (The first three can only be set by open) */
           #define  O_RDONLY 0
           #define  O_WRONLY 1
           #define  O_RDWR   2
           #define  O_NDELAY 04   /* Non-blocking I/O */
           #define  O_APPEND 010  /* append (writes guaranteed at the end) */


           /* Flag values accessible only to open(2B) */
           #define  O_CREAT  00400  /* open with file create (uses*/
                                    /* third open arg)*/
           #define  O_TRUNC  01000  /* open with truncation */
           #define  O_EXCL   02000  /* exclusive open */


           /* fcntl(2B) requests */
           #define  F_DUPFD  0  /* Duplicate fildes */
           #define  F_GETFD  1  /* Get fildes flags */
           #define  F_SETFD  2  /* Set fildes flags */
           #define  F_GETFL  3  /* Get file flags */
           #define  F_SETFL  4  /* Set file flags */


      SSSSEEEEEEEE AAAALLLLSSSSOOOO
           fcntl(2B), open(2B).


















      Page 1                                                   (9010-E)



