libFirm
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
irprintf.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5 
11 #ifndef FIRM_IR_IRPRINTF_H
12 #define FIRM_IR_IRPRINTF_H
13 
14 #include <stdarg.h>
15 #include <stdio.h>
16 #include "begin.h"
17 #include "firm_types.h"
18 
19 struct obstack;
20 
51 FIRM_API int ir_printf(const char *fmt, ...);
52 
56 FIRM_API int ir_fprintf(FILE *f, const char *fmt, ...);
57 
61 FIRM_API int ir_snprintf(char *buf, size_t n, const char *fmt, ...);
62 
66 FIRM_API int ir_vprintf(const char *fmt, va_list args);
67 
71 FIRM_API int ir_vfprintf(FILE *f, const char *fmt, va_list args);
72 
76 FIRM_API int ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args);
77 
81 FIRM_API int ir_obst_vprintf(struct obstack *obst, const char *fmt,
82  va_list args);
83 
99 FIRM_API int tarval_snprintf(char *buf, size_t buflen, ir_tarval *tv);
100 
102 #include "end.h"
103 
104 #endif
int ir_vprintf(const char *fmt, va_list args)
int tarval_snprintf(char *buf, size_t buflen, ir_tarval *tv)
Output a tarval in human readable format to a string buffer.
int ir_printf(const char *fmt,...)
A string formatting routine for ir objects.
int ir_obst_vprintf(struct obstack *obst, const char *fmt, va_list args)
int ir_snprintf(char *buf, size_t n, const char *fmt,...)
struct ir_tarval ir_tarval
Target Machine Value.
Definition: firm_types.h:68
int ir_vfprintf(FILE *f, const char *fmt, va_list args)
int ir_vsnprintf(char *buf, size_t len, const char *fmt, va_list args)
int ir_fprintf(FILE *f, const char *fmt,...)