From owner-cvs-all Sun Jan 26 4:15:59 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D8437B401; Sun, 26 Jan 2003 04:15:57 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00B1F43E4A; Sun, 26 Jan 2003 04:15:56 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.7/8.12.1) with ESMTP id h0QCFoa6058807; Sun, 26 Jan 2003 07:15:50 -0500 (EST) Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.7/8.12.1/Submit) id h0QCFohs058806; Sun, 26 Jan 2003 07:15:50 -0500 (EST) (envelope-from hiten) Date: Sun, 26 Jan 2003 07:15:50 -0500 From: Hiten Pandya To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio fopen.3 freopen.c Message-ID: <20030126121550.GA58214@unixdaemons.com> References: <200301261001.h0QA1xpo065748@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301261001.h0QA1xpo065748@repoman.freebsd.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 26, 2003 at 02:01:59AM -0800, Tim J. Robbins wrote the words in effect of: > tjr 2003/01/26 02:01:59 PST > > Modified files: > lib/libc/stdio fopen.3 freopen.c > Log: > Initial implementation of the C99 feature whereby calling freopen() with > a NULL filename argument allows a stream's mode to be changed. At the > moment it just recycles the old file descriptor instead of storing the > filename somewhere and using that to reopen the file, as the standard > seems to require. Strictly conforming C99 applications probably can't > tell the difference but POSIX ones can. > > PR: 46791 Is this like fmemopen()/open_memstream()? Cheers. -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message