how many fds opened

Can we find out how many fds are opened in QNX through code??