From: Eugene Karpachov (jk_at_[hidden])
Date: 2001-03-15 11:27:04
Thu, Mar 15, 2001 at 04:03:28PM -0000, terekhov_at_[hidden] ÐÉÛÅÔ:
> > As usual with POSIX, check for -1 as error flag and inspect errno.
> You could
> > throw some exception object containing this errno value.
> > --
> > jk
> POSIX _threads_ calls do not use errno (-1 as error flag)
> ZERO return value is used as OK indication, non-zero
> return value is used as spec. status (error) indication.
Yes, you are right. Must check for !=0; but I insist on errno :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk