diff options
Diffstat (limited to 'libiberty/functions.texi')
-rw-r--r-- | libiberty/functions.texi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libiberty/functions.texi b/libiberty/functions.texi index 75f9824..47d40ec 100644 --- a/libiberty/functions.texi +++ b/libiberty/functions.texi @@ -362,6 +362,16 @@ and inode numbers. @end deftypefn +@c fopen_unlocked.c:32 +@deftypefn Extension FILE * fdopen_unlocked (int @var{fildes}, const char * @var{mode}) + +Opens and returns a @code{FILE} pointer via @code{fdopen}. If the +operating system supports it, ensure that the stream is setup to avoid +any multi-threaded locking. Otherwise return the @code{FILE} pointer +unchanged. + +@end deftypefn + @c ffs.c:3 @deftypefn Supplemental int ffs (int @var{valu}) @@ -421,6 +431,16 @@ Ignores case when performing the comparison. @end deftypefn +@c fopen_unlocked.c:23 +@deftypefn Extension FILE * fopen_unlocked (const char *@var{path}, const char * @var{mode}) + +Opens and returns a @code{FILE} pointer via @code{fopen}. If the +operating system supports it, ensure that the stream is setup to avoid +any multi-threaded locking. Otherwise return the @code{FILE} pointer +unchanged. + +@end deftypefn + @c argv.c:94 @deftypefn Extension void freeargv (char **@var{vector}) @@ -431,6 +451,16 @@ itself. @end deftypefn +@c fopen_unlocked.c:41 +@deftypefn Extension FILE * freopen_unlocked (const char * @var{path}, const char * @var{mode}, FILE * @var{stream}) + +Opens and returns a @code{FILE} pointer via @code{freopen}. If the +operating system supports it, ensure that the stream is setup to avoid +any multi-threaded locking. Otherwise return the @code{FILE} pointer +unchanged. + +@end deftypefn + @c getruntime.c:82 @deftypefn Replacement long get_run_time (void) |