Changeset 04803bf in mainline for boot/generic/include/printf.h
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/include/printf.h
rb50b5af2 r04803bf 27 27 */ 28 28 29 /** @addtogroup generic30 * @{31 */32 29 /** @file 33 30 */ 34 31 35 #ifndef BOOT_ STRING_H_36 #define BOOT_ STRING_H_32 #ifndef BOOT_PRINT_H_ 33 #define BOOT_PRINT_H_ 37 34 38 #include <types.h> 35 #include <typedefs.h> 36 #include <stdarg.h> 39 37 40 extern size_t strlen(const char *str); 41 extern int strcmp(const char *src, const char *dst); 42 extern int strncmp(const char *src, const char *dst, size_t len); 43 extern void strncpy(char *dest, const char *src, size_t len); 44 extern unative_t atoi(const char *text); 45 extern void *memmove(void *dst, const void *src, size_t len); 38 #ifndef NVERIFY_PRINTF 39 40 #define PRINTF_ATTRIBUTE(start, end) \ 41 __attribute__((format(gnu_printf, start, end))) 42 43 #else /* NVERIFY_PRINTF */ 44 45 #define PRINTF_ATTRIBUTE(start, end) 46 47 #endif /* NVERIFY_PRINTF */ 48 49 #define EOF (-1) 50 51 extern int puts(const char *); 52 extern int printf(const char *, ...) 53 PRINTF_ATTRIBUTE(1, 2); 54 extern int vprintf(const char *, va_list); 46 55 47 56 #endif
Note:
See TracChangeset
for help on using the changeset viewer.