Date: Tue, 21 Nov 2000 19:32:52 +0300 From: "Igor' Robul'" <igor@raduga.dyndns.org> To: freebsd-questions@freebsd.org Subject: Re: Systems programming questions... Message-ID: <20001121193252.B29687@linux.rainbow> In-Reply-To: <20001121095053.B6568@online.dct.com>; from markm@online.dct.com on Tue, Nov 21, 2000 at 09:50:53AM -0600 References: <20001121092902.A6568@online.dct.com> <20001121173651.C9661@ringworld.oblivion.bg> <20001121095053.B6568@online.dct.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 21, 2000 at 09:50:53AM -0600, Mark wrote: > with the "ifconfig ... alias" system call. I guess the next step is to look > at the source for /sbin/ifconfig, like you suggested. But I think that better is just use execl(3) to execute ifconfig. This guarant that your C program will work even if somethink in kernel or ifconfig will be changed. -- Igor' Robul', Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001121193252.B29687>