DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc/stdio fopen.3 freopen.c

From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jun 2004 17:45:01 -0700 (PDT)

hmp         2004/06/07 17:45:01 PDT

DragonFly src repository

  Modified files:
    lib/libc/stdio       fopen.3 freopen.c 
  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@xxxxxxxxxxx>
  Additional-work-by: 	Hiten Pandya <hmp@xxxxxxxxxxxxx>
  Revision  Changes    Path
  1.3       +42 -8     src/lib/libc/stdio/fopen.3
  1.4       +57 -1     src/lib/libc/stdio/freopen.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]