9

read text file in linux c (content is only more ip) and set network configuration [on hold]

view full story
linux-howto

http://stackoverflow.com – I have a text file named get-ip.txt I want to write a C program that can read this file and i want to set network config by them (assume the file contains only more ip in multi line). I don't know how to get the text file and read each ip in line to set network configuratin tanx.plz helppppp (HowTos)