title: How to get all network interface name and information in c++
body: <p>Is it possible to get all network interfaces(whether <strong>up</strong> or <strong>down</strong>) name and available information in Linux using c++? I mean a program that only uses <strong>API</strong> to get interface's name.
  Does "ioctl" print <strong>down</strong> interfaces?</p>