From owner-cvs-all Sun Jan 26 2: 2: 1 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 36CDA37B401; Sun, 26 Jan 2003 02:02:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD3A143F13; Sun, 26 Jan 2003 02:01:59 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0QA1xbv065752; Sun, 26 Jan 2003 02:01:59 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0QA1xpo065748; Sun, 26 Jan 2003 02:01:59 -0800 (PST) Message-Id: <200301261001.h0QA1xpo065748@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sun, 26 Jan 2003 02:01:59 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio fopen.3 freopen.c X-FreeBSD-CVS-Branch: HEAD 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 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 Revision Changes Path 1.18 +36 -1 src/lib/libc/stdio/fopen.3 1.11 +58 -1 src/lib/libc/stdio/freopen.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message