Changeset 4872160 in mainline for boot/generic/include/printf.h
- Timestamp:
- 2010-05-04T10:44:55Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 568db0f
- Parents:
- bb252ca
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/include/printf.h
rbb252ca r4872160 1 1 /* 2 * Copyright (c) 200 6 Martin Decky2 * Copyright (c) 2001-2004 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup generic30 * @{31 */32 29 /** @file 33 30 */ 34 31 35 #ifndef BOOT_PRINT F_H_36 #define BOOT_PRINT F_H_32 #ifndef BOOT_PRINT_H_ 33 #define BOOT_PRINT_H_ 37 34 38 #define INT8 1 39 #define INT16 2 40 #define INT32 4 41 #define INT64 8 35 #include <typedefs.h> 36 #include <stdarg.h> 42 37 43 extern void puts(const char *str); 44 extern void printf(const char *fmt, ...); 38 #define EOF (-1) 45 39 46 extern void write(const char *str, const int len); 40 extern int puts(const char *); 41 extern int printf(const char *, ...); 42 extern int vprintf(const char *, va_list); 47 43 48 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.