How to detect "no ethernet cable" in QNX 6.3.2 ?

How to detect “no ethernet cable” in QNX 6.3.2 ?
/in c/c++;
is there any eth driver func available through io-net ?