

fcntl()                COHERENT System Call               fcntl()




Control open files

iinntt ffccnnttll(_f_d, _c_o_m_m_a_n_d, _a_r_g)
iinntt ffdd, ccmmdd;

The COHERENT  system call ffccnnttll  permits manipulation of  an open
file.  _f_d is the file descriptor; this description must have been
obtained from a call to ccrreeaatt, dduupp, ffccnnttll, ooppeenn, or ppiippee.

_c_o_m_m_a_n_d  identifies the  task  that you  want  ffccnnttll to  perform.
ffccnnttll recognizes the following commands:

FF_DDUUPPFFDD
     Duplicate a file descriptor.

FF_GGEETTFFDD
     Get file descriptor flags.

FF_GGEETTFFLL
     Get file flags.

FF_SSEETTFFDD
     Get file descriptor flags.

FF_SSEETTFFLL
     Get file flags.

ffccnnttll returns the file descriptor ffdd.

***** See Also *****

CCOOHHEERREENNTT  ssyysstteemm  ccaallllss,  ccrreeaatt(),  dduupp(),  ffccnnttll.hh,  ffiillee,  ffiillee
ddeessccrriippttoorr, ooppeenn(), ppiippee()























COHERENT Lexicon                                           Page 1


