title: How can I get a list of available wireless networks on Linux?
body: <p>I would like to get a list of the wireless networks available. Ideally this would be via some C call, but I don't mind if I have to kludge it with a system call. Even better if the required C call or program doesn't require some exotic 3rd party package.</p>
  
  <p>The internet seems to suggest I use <code>sudo iwlist &lt;interface&gt; scan</code> which does seem to do the trick from the command line, but I'd rather not require root permissions. I only want to see the basics, not change anything.</p>