* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define isatty __isatty
+
#include "_stdio.h"
/*
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define isatty __isatty
+
#include "_stdio.h"
/* This is pretty much straight from uClibc, but with one important
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define vasprintf __vasprintf
+
#include "_stdio.h"
#include <stdarg.h>
#warning Skipping asprintf and __asprintf since no vsnprintf!
#else
-int __asprintf(char **__restrict buf, const char * __restrict format, ...)
+int attribute_hidden __asprintf(char **__restrict buf, const char * __restrict format, ...)
{
va_list arg;
int rv;
return rv;
}
-weak_alias(__asprintf,asprintf)
+strong_alias(__asprintf,asprintf)
#endif
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define vdprintf __vdprintf
+
#include "_stdio.h"
#include <stdarg.h>
#include "_stdio.h"
-FILE *fdopen(int filedes, const char *mode)
+FILE attribute_hidden *__fdopen(int filedes, const char *mode)
{
intptr_t cur_mode;
? _stdio_fopen(cur_mode, mode, NULL, filedes)
: NULL;
}
+strong_alias(__fdopen,fdopen)
weak_alias(__fileno_unlocked,fileno_unlocked);
#ifndef __UCLIBC_HAS_THREADS__
+hidden_weak_alias(__fileno_unlocked,__fileno);
weak_alias(__fileno_unlocked,fileno);
#endif
#elif defined __UCLIBC_HAS_THREADS__
-int fileno(register FILE *stream)
+int attribute_hidden __fileno(register FILE *stream)
{
int retval;
__STDIO_AUTO_THREADLOCK_VAR;
return retval;
}
-
+strong_alias(__fileno,fileno)
#endif
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define fopencookie __fopencookie
+
#include "_stdio.h"
#ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
/* Currently no real reentrancy issues other than a possible double close(). */
#ifndef __BCC__
-FILE *fopencookie(void * __restrict cookie, const char * __restrict mode,
+FILE attribute_hidden *__fopencookie(void * __restrict cookie, const char * __restrict mode,
cookie_io_functions_t io_functions)
#else
FILE *_fopencookie(void * __restrict cookie, const char * __restrict mode,
return stream;
}
+#ifndef __BCC__
+strong_alias(__fopencookie,fopencookie)
+#endif
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define fopencookie __fopencookie
+
#include "_stdio.h"
#ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
#define waitpid __waitpid
#define execl __execl
#define dup2 __dup2
+#define fdopen __fdopen
#include <stdio.h>
#include <stdlib.h>
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define rmdir __rmdir
+#define unlink __unlink
+
#include "_stdio.h"
#include <unistd.h>
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define vswprintf __vswprintf
+
#include "_stdio.h"
#include <stdarg.h>
#include <wchar.h>
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define fdopen __fdopen
+
#include <features.h>
#include <stdio.h>
#include <unistd.h>
#warning Skipping vasprintf since no vsnprintf!
#else
-int vasprintf(char **__restrict buf, const char * __restrict format,
+int attribute_hidden __vasprintf(char **__restrict buf, const char * __restrict format,
va_list arg)
{
#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
return rv;
#endif /* __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__ */
+strong_alias(__vasprintf,vasprintf)
}
#endif
#include "_stdio.h"
#include <stdarg.h>
-int vdprintf(int filedes, const char * __restrict format, va_list arg)
+int attribute_hidden __vdprintf(int filedes, const char * __restrict format, va_list arg)
{
FILE f;
int rv;
return rv;
}
+strong_alias(__vdprintf,vdprintf)
#warning Skipping vswprintf since no buffering!
#else /* __STDIO_BUFFERS */
-int vswprintf(wchar_t *__restrict buf, size_t size,
+int attribute_hidden __vswprintf(wchar_t *__restrict buf, size_t size,
const wchar_t * __restrict format, va_list arg)
{
FILE f;
}
return rv;
}
+strong_alias(__vswprintf,vswprintf)
#endif /* __STDIO_BUFFERS */