DragonFly BSD
DragonFly bugs List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Undefined reference to 'select()'


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 17 Jun 2006 17:08:03 +0200

On 17.06.2006, at 09:25, walt wrote:
Here is the actual code from fam, and there is no extern "C"
appearing anywhere in the file:

yes, it should be around the declaration


int status = ::select(nfds, &readfds, &writefds, 0, timeout);

Could you explain briefly the meaning of the :: for me?  I've been
reading a c++ tutorial but I haven't come to that lesson yet :o)

:: accesses the top level, in comparison to the class function.


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]