4.104.114.84.95
Last change
on this file since 1fc35374 was
2ea8df3,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 16:27:34
|
Added CVS Ids and a basic header. More header cleanup needed.
|
-
Property mode set to
100644
|
File size:
817 bytes
|
Line | |
---|
1 | /* frmstr.h |
---|
2 | * Interface to procedures used to implement |
---|
3 | * the printf group. |
---|
4 | * |
---|
5 | * $Id$ |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef _FRMSTR_H_ |
---|
9 | #define _FRMSTR_H_ |
---|
10 | |
---|
11 | #ifdef __i960 |
---|
12 | |
---|
13 | typedef int ArgType; |
---|
14 | typedef unsigned int ArgType_U; |
---|
15 | |
---|
16 | #else |
---|
17 | |
---|
18 | typedef long ArgType; |
---|
19 | typedef unsigned long ArgType_U; |
---|
20 | |
---|
21 | #endif |
---|
22 | |
---|
23 | /* Format a string. |
---|
24 | */ |
---|
25 | extern int format_string(const char * frmt, ArgType * args, char * buffer); |
---|
26 | /* Get arguments from formatted string. |
---|
27 | */ |
---|
28 | extern int unformat_string(const char * fmt, int ** argp, const char * buffer); |
---|
29 | |
---|
30 | /* Definitions for control characters. |
---|
31 | */ |
---|
32 | #define BELL ('G' & 0x1f) |
---|
33 | #define BACKSPACE '\b' |
---|
34 | #define DELETE 0x7f |
---|
35 | #define KILL ('U' - 'A' + 1) |
---|
36 | #define XON ('Q' & 0x1f) |
---|
37 | #define XOFF ('S' & 0x1f) |
---|
38 | #define CNTRL_C 0x3 |
---|
39 | |
---|
40 | #endif |
---|
41 | |
---|
42 | /* End of File |
---|
43 | */ |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.