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

之前在QNX 6.3.5 可使用devctl()和data.flags=NIC_FLAG_LINK_DOWN,請問在QNX 6.5下要如何使用呢?