ddooppeenn() -- Driver-Access Routines

vvooiidd
ddooppeenn(_d_e_v, _m_o_d_e, _f_l_a_g_s)
ddeevv_tt _d_e_v;

ddooppeenn() calls the  function pointed to by field cc_ooppeenn  in the driver's CCOONN
structure.  This function opens the device.

_d_e_v is the  device being opened.  _m_o_d_e gives the  mode in which it is being
opened; valid _m_o_d_e_s include IIPPRR(read), IIPPWW(write), or IIPPRR | IIPPWW.      Valid
_f_l_a_g_s are DDFFBBLLKK or DDFFCCHHRR. If the open fails, uu.uu_eerrrroorr is set.

_S_e_e _A_l_s_o
ddrriivveerr-aacccceessss rroouuttiinneess
