summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/freopen.c
AgeCommit message (Expand)Author
2025-07-17lib: Fix calls that naively set F_SETFD.Ricardo Branco
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-06-29Make stdio deferred cancel-safe.Konstantin Belousov
2016-03-30freopen(3): prevent uninitialized errno.Pedro F. Giffuni
2016-03-30freopen(3): prevent uninitialized errno.Pedro F. Giffuni
2016-03-30freopen(3): prevent uninitialized errno.Pedro F. Giffuni
2015-10-28Add _flags2 per jhb@ suggestion since no room left in _flags.Andrey A. Chernov
2015-10-24Since no room left in the _flags, reuse __SALC for O_APPEND.Andrey A. Chernov
2014-07-26In the "Too many open files" edge cases don't try to preserve oldAndrey A. Chernov
2014-07-20Use a correct errno in freopen.Pedro F. Giffuni
2014-04-21libc/stdio: Fail fdopen() on an execute-only fd.Jilles Tjoelker
2013-04-23Convert libc/stdio from K&R to ANSI CEd Maste
2013-04-23Renumber clauses to reduce diffs to other versionsEd Maste
2012-11-30libc: Allow setting close-on-exec in fopen/freopen/fdopen.Jilles Tjoelker
2010-12-09When reopening a stream backed by an open file descriptor, do not closeJohn Baldwin
2008-04-17Next stage of stdio cleanup: Retire __sFILEX and merge the fields back intoJohn Baldwin
2008-02-27Add <limits.h> for SHRT_MAX.John Baldwin
2008-02-27File descriptors are an int, but our stdio FILE object uses a short to holdJohn Baldwin
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2006-10-16file == NULL:Andrey A. Chernov
2006-10-16Honor errno obtained from __sflagsAndrey A. Chernov
2006-10-16Back out ftruncate error handling. There can some file tipesAndrey A. Chernov
2006-10-15Do real seekAndrey A. Chernov
2004-05-22Associate a multibyte conversion state object with each stream. Reset itTim J. Robbins
2003-01-26Remove part of my stateful locale patch that slipped into the previous rev.Tim J. Robbins
2003-01-26Initial implementation of the C99 feature whereby calling freopen() withTim J. Robbins
2003-01-03Reset the stream orientation to 0 (unoriented) in freopen(), as requiredTim J. Robbins
2002-10-12Add restrict type-qualifier.Mike Barcroft
2002-03-22Fix the style of the SCM ID's.David E. O'Brien
2001-02-11libc MT-safety, part 2.Daniel Eischen
2001-01-24Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen
2000-01-27Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans
2000-01-12Add three-tier symbol naming in support of POSIX thread cancellationJason Evans
1999-11-20Add (FILE *) locking.Dmitrij Tejblum
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes