* Chris Torek.
*/
+#include "ust-helper.h"
+
/*
* Floating point scanf/printf (input/output) definitions.
*/
#error "floating point buffers too small"
#endif
+LTTNG_HIDDEN
char *__hdtoa(double, const char *, int, int *, int *, char **);
+LTTNG_HIDDEN
char *__hldtoa(long double, const char *, int, int *, int *, char **);
+LTTNG_HIDDEN
char *__ldtoa(long double *, int, int, int *, int *, char **);
*/
#include <stddef.h>
+#include "ust-helper.h"
+
struct __lttng_ust_siov {
void *iov_base;
size_t iov_len;
int uio_resid;
};
+LTTNG_HIDDEN
extern int __sfvwrite(LTTNG_UST_LFILE *, struct __lttng_ust_suio *);
#include <stdio.h>
#include <wchar.h>
+#include "ust-helper.h"
#include "various.h"
#include "wcio.h"
#include "fileext.h"
+LTTNG_HIDDEN
int __sflush(LTTNG_UST_LFILE *);
+LTTNG_HIDDEN
LTTNG_UST_LFILE *__sfp(void);
+LTTNG_HIDDEN
int __srefill(LTTNG_UST_LFILE *);
+LTTNG_HIDDEN
int __sread(void *, char *, int);
+LTTNG_HIDDEN
int __swrite(void *, const char *, int);
+LTTNG_HIDDEN
fpos_t __sseek(void *, fpos_t, int);
+LTTNG_HIDDEN
int __sclose(void *);
+LTTNG_HIDDEN
void __sinit(void);
+LTTNG_HIDDEN
void _cleanup(void);
+LTTNG_HIDDEN
void __smakebuf(LTTNG_UST_LFILE *);
+LTTNG_HIDDEN
int __swhatbuf(LTTNG_UST_LFILE *, size_t *, int *);
+LTTNG_HIDDEN
int _fwalk(int (*)(LTTNG_UST_LFILE *));
+LTTNG_HIDDEN
int __swsetup(LTTNG_UST_LFILE *);
+LTTNG_HIDDEN
int __sflags(const char *, int *);
+LTTNG_HIDDEN
wint_t __fgetwc_unlock(LTTNG_UST_LFILE *);
+LTTNG_HIDDEN
extern void __atexit_register_cleanup(void (*)(void));
+LTTNG_HIDDEN
extern int __sdidinit;
/*
#include <stdio.h>
#include <wchar.h>
+#include "ust-helper.h"
+
struct __lttng_ust_sbuf {
unsigned char *_base;
int _size;
#define __sferror(p) (((p)->_flags & __SERR) != 0)
+LTTNG_HIDDEN
extern int ust_safe_fflush(LTTNG_UST_LFILE *fp);
+LTTNG_HIDDEN
extern int ust_safe_vfprintf(LTTNG_UST_LFILE *fp, const char *fmt0, va_list ap);
+LTTNG_HIDDEN
extern size_t ust_safe_mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
#endif /* UST_SNPRINTF_VARIOUS_H */