Hello FreeBSd community...I have been using FreeBSD for a while now and since i do programming i wanted to start programming something for FreeBSD.One thing that is frustrating me is that there is no GUI Wireless tool.So i decided to program my own.I know i can create a process and call a shell command with system() function (e.g system ("date"); ) but i need to issue a scan command and i need root privileges for that (what i mean is "ifconfig wlan0 up scan").How can i do that?And is calling system() function safe for such a thing?