Date: Fri, 19 Nov 1999 09:07:29 +1300 From: Jonathan Chen <jonc@logisticsoftware.co.nz> To: "Oleg V. Volkov" <rover@lglobus.ru> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Is there correct way for program to read from itself? Message-ID: <19991119090728.B79916@jonc.logisticsoftware.co.nz> In-Reply-To: <19991118223426.A62913@fly.lglobus.ru>; from rover@lglobus.ru on Thu, Nov 18, 1999 at 10:34:26PM %2B0300 References: <19991118065815.B89755@fly.lglobus.ru> <19991118102421.09370@mojave.sitaranetworks.com> <19991118223426.A62913@fly.lglobus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 18, 1999 at 10:34:26PM +0300, Oleg V. Volkov wrote: > I mean this situation: > I have some program /usr/local/bin/someprog. Is there a way for it > to read from itself (from /usr/local/bin/someprog). Um. So what's wrong with open(2), read(2) or fopen(3), fread(3)? Jonathan Chen ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards 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?19991119090728.B79916>