Colin Burgess(deleted)
03/28/2008 10:07 AM
post6241
|
iofunc_read() is listed in the doc page for io_read() as a helper function, along
with iofunc_read_verify()
iofunc_close_default() is listed as a helper for io_close_ocb(), so I think
it was a typo, and should be listed as iofunc_close_ocb_default()
Attilla Danko wrote:
> Steve Reid wrote:
> > In Getting Started with QNX Neutrino, Rob Krten refers to a couple of
> > iofunc functions that I couldn't find in the source:
> >
> > iofunc_close_default()
> > iofunc_read()
>
> I can't find those in the source either.
>
> But in lib/c/public/sys/iofunc.h there is an iofunc_read_default(). There
> are also two closes:
> iofunc_close_ocb_default() and iofunc_close_dup_default().
>
> I suspect "iofunc_cread()" is a typo. Perhaps someone knows the history of
> the iofunc_*close*_default() functions.
>
> -ad
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post6239
>
--
cburgess@qnx.com
|
|
|
Thomas Fletcher
03/28/2008 9:02 PM
post6267
|
On Fri, Mar 28, 2008 at 9:57 AM, Attilla Danko <adanko@qnx.com> wrote:
> Steve Reid wrote:
> > In Getting Started with QNX Neutrino, Rob Krten refers to a couple of
> > iofunc functions that I couldn't find in the source:
> >
> > iofunc_close_default()
> > iofunc_read()
>
> I can't find those in the source either.
>
> But in lib/c/public/sys/iofunc.h there is an iofunc_read_default(). There
> are also two closes:
> iofunc_close_ocb_default() and iofunc_close_dup_default().
>
> I suspect "iofunc_cread()" is a typo. Perhaps someone knows the history of
> the iofunc_*close*_default() functions.
>
Should be iofunc_read_default() (assuming I have the correct context) and
there
are two close functions deliberately, and with very different
functionalities. The
one most people are interested in is iofunc_close_ocb_default().
Hope this helps,
Thomas
|
|
|