Date: Sun, 26 Jan 2003 07:15:50 -0500 From: Hiten Pandya <hiten@unixdaemons.com> To: "Tim J. Robbins" <tjr@FreeBSD.ORG> 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> In-Reply-To: <200301261001.h0QA1xpo065748@repoman.freebsd.org> References: <200301261001.h0QA1xpo065748@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030126121550.GA58214>