From owner-freebsd-questions Thu Nov 18 1:58:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id E1BED14E29 for ; Thu, 18 Nov 1999 01:58:44 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11oOKN-0004Xz-00; Thu, 18 Nov 1999 11:58:07 +0200 From: Sheldon Hearn To: rover@lglobus.ru Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Is there correct way for program to read from itself? In-reply-to: Your message of "Thu, 18 Nov 1999 06:58:15 +0300." <19991118065815.B89755@fly.lglobus.ru> Date: Thu, 18 Nov 1999 11:58:07 +0200 Message-ID: <17482.942919087@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Nov 1999 06:58:15 +0300, "Oleg V. Volkov" wrote: > Is there correct way for porgram to read from it's own file? Not the way I think you mean it, no. You can, however, use char[] buffers to store in your program whatever information you need to use later. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message