mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
merge from gcc
This commit is contained in:
parent
6e75bff67d
commit
7cc9282c4e
@ -1,3 +1,8 @@
|
||||
2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
|
||||
Provide prototypes for new functions.
|
||||
|
||||
2005-03-29 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* libiberty.h: Fix indentation.
|
||||
|
@ -48,6 +48,14 @@ extern "C" {
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Open and return a FILE pointer. If the OS supports it, ensure that
|
||||
the stream is setup to avoid any multi-threaded locking. Otherwise
|
||||
return the FILE pointer unchanged. */
|
||||
|
||||
extern FILE *fopen_unlocked (const char *path, const char *mode);
|
||||
extern FILE *fdopen_unlocked (int fildes, const char *mode);
|
||||
extern FILE *freopen_unlocked (const char *path, const char *mode, FILE *stream);
|
||||
|
||||
/* Build an argument vector from a string. Allocates memory using
|
||||
malloc. Use freeargv to free the vector. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user