forked from jonmacs/jove
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fmt.h
30 lines (24 loc) · 1.11 KB
/
fmt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**************************************************************************
* This program is Copyright (C) 1986-2002 by Jonathan Payne. JOVE is *
* provided by Jonathan and Jovehacks without charge and without *
* warranty. You may copy, modify, and/or distribute JOVE, provided that *
* this notice is included in all the source files and documentation. *
**************************************************************************/
#define MESG_SIZE MAXCOLS
extern char mesgbuf[MESG_SIZE];
#define PPWIDTH 5 /* maximum width of PPchar output: "\\000\0" */
extern void
format proto((char *buf, size_t len, const char *fmt, va_list ap)),
PPchar proto((ZXchar c, char *cp)),
add_mess proto((const char *, ...)),
f_mess proto((const char *, ...)),
fwritef proto((File *, const char *, ...)),
writef proto((const char *, ...)),
s_mess proto((const char *, ...)),
swritef proto((char *, size_t, const char *, ...));
extern char
*sprint proto((const char *, ...));
extern bool jdebug;
extern const char *jdpath;
extern void jdprintf proto((const char *, ...));
#define jdbg if (!jdebug) ; else jdprintf