28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: misc.h,v 1.231 2005/05/23 18:21:37 debug Exp $ |
* $Id: misc.h,v 1.233 2005/06/20 05:52:49 debug Exp $ |
32 |
* |
* |
33 |
* Misc. definitions for gxemul. |
* Misc. definitions for gxemul. |
34 |
*/ |
*/ |
121 |
void debug_indentation(int diff); |
void debug_indentation(int diff); |
122 |
void debug(char *fmt, ...); |
void debug(char *fmt, ...); |
123 |
void fatal(char *fmt, ...); |
void fatal(char *fmt, ...); |
124 |
|
|
125 |
|
|
126 |
|
/* misc.c: */ |
127 |
unsigned long long mystrtoull(const char *s, char **endp, int base); |
unsigned long long mystrtoull(const char *s, char **endp, int base); |
128 |
|
int mymkstemp(char *template); |
129 |
|
#ifdef USE_STRLCPY_REPLACEMENTS |
130 |
|
size_t mystrlcpy(char *dst, const char *src, size_t size); |
131 |
|
size_t mystrlcat(char *dst, const char *src, size_t size); |
132 |
|
#endif |
133 |
|
|
134 |
|
|
135 |
/* of.c: */ |
/* of.c: */ |
155 |
void useremul_init(void); |
void useremul_init(void); |
156 |
|
|
157 |
|
|
158 |
|
/* yamon.c: */ |
159 |
|
int yamon_emul(struct cpu *cpu); |
160 |
|
|
161 |
|
|
162 |
#endif /* MISC_H */ |
#endif /* MISC_H */ |