cclloosseeddiirr() -- General Function (libc)

Close a directory stream
#iinncclluuddee <ddiirreenntt.hh>
iinntt cclloosseeddiirr(_d_i_r_p)
DDIIRR *_d_i_r_p;

The COHERENT function cclloosseeddiirr() is one  of a set of COHERENT routines that
manipulate  directories  in a  device-independent  manner.   It closes  the
directory stream pointed to by _d_i_r_p.

cclloosseeddiirr() returns  zero if no  error occurs.  If something  goes wrong, it
returns -1 and sets eerrrrnnoo to an appropriate value.

_E_x_a_m_p_l_e
For an example of this system call, see the Lexicon entry for ooppeennddiirr().

_S_e_e _A_l_s_o
ddiirreenntt.hh, ggeettddeennttss(),  lliibbcc, ooppeennddiirr(), rreeaaddddiirr(),  rreewwiinnddddiirr(), sseeeekkddiirr(),
tteellllddiirr()
POSIX Standard, section 5.1.2

_N_o_t_e_s
The COHERENT implementation of the ddiirreenntt routines was written by D. Gwynn.
