Rev 1685 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1685 | Rev 1763 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __PRINTF_H__ |
29 | #ifndef PRINTF_H__ |
30 | #define __PRINTF_H__ |
30 | #define PRINTF_H__ |
31 | 31 | ||
32 | #define INT8 1 |
32 | #define INT8 1 |
33 | #define INT16 2 |
33 | #define INT16 2 |
34 | #define INT32 4 |
34 | #define INT32 4 |
35 | #define INT64 8 |
35 | #define INT64 8 |
36 | 36 | ||
37 | typedef signed char __s8; |
37 | extern void puts(const char *str); |
- | 38 | extern void printf(const char *fmt, ...); |
|
38 | 39 | ||
39 | typedef unsigned char __u8; |
- | |
40 | typedef unsigned short __u16; |
- | |
41 | typedef unsigned int __u32; |
- | |
42 | typedef unsigned long long __u64; |
- | |
43 | - | ||
44 | typedef __u32 __address; |
- | |
45 | typedef __u32 __native; |
- | |
46 | - | ||
47 | typedef char *char_ptr; |
- | |
48 | - | ||
49 | void puts(const char *str); |
- | |
50 | void printf(const char *fmt, ...); |
40 | extern void write(const char *str, const int len); |
51 | 41 | ||
52 | #endif |
42 | #endif |