DragonFly BSD

CVS log for src/lib/libc/stdio/fopen.3

[BACK] Up to [DragonFly] / src / lib / libc / stdio

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN
Current tag: DragonFly_RELEASE_1_2


Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jun 8 00:45:00 2004 UTC (10 years, 2 months ago) by hmp
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +42 -8 lines
C99 update: freopen(3) with NULL 'path' argument so that it opens the
same file with a different mode.

At the moment, we just recycle the old file descriptor instead of storing
it somewhere and using that to reopen the file, as the standard seems to
require.  Strictly conforming C99 applications would probably not be able
to tell the difference but POSIX ones can.

While I am there, update the manual page about the new functionality and
correct nearby mdoc(7) markup errors.

Original-work-by:    	Tim J. Robbins <tjr@freebsd.org>
Additional-work-by: 	Hiten Pandya <hmp@backplane.com>

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options