Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 19 Feb 2003 00:51:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 19 Feb 2003 00:51:16 -0500 Received: from web21201.mail.yahoo.com ([216.136.129.59]:5185 "HELO web21201.mail.yahoo.com") by vger.kernel.org with SMTP id ; Wed, 19 Feb 2003 00:51:16 -0500 Message-ID: <20030219060118.93609.qmail@web21201.mail.yahoo.com> Date: Tue, 18 Feb 2003 22:01:18 -0800 (PST) From: Srinivas Chinta Subject: EOF charector in file? To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 20 Hi, any body please help me how to write an "end of file" charector in a file? I could truncate(), but is there any other way of doing it like "putc('some-EOF-charector', fp)" ? If it is there, what charector i have to "putc()"? Thanks. Srinivasu Chinta. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/