Changeset e499a30 in mainline for generic/include/print.h
- Timestamp:
- 2006-05-02T11:25:22Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6445baf
- Parents:
- 7dd1787
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/print.h
r7dd1787 re499a30 32 32 #include <arch/types.h> 33 33 #include <synch/spinlock.h> 34 35 #define INT8 1 36 #define INT16 2 37 #define INT32 4 38 #define INT64 8 39 40 extern int printf(const char *fmt, ...); 34 #include <arch/arg.h> 41 35 42 36 /* We need this address in spinlock to avoid deadlock in deadlock detection */ … … 45 39 #define EOF (-1) 46 40 41 extern int puts(const char * str); 42 43 extern int printf(const char *fmt, ...); 44 extern int sprintf(char *str, const char *fmt, ...); 45 extern int snprintf(char *str, size_t size, const char *fmt, ...); 46 47 extern int vprintf(const char *fmt, va_list ap); 48 extern int vsprintf(char *str, const char *fmt, va_list ap); 49 extern int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); 50 47 51 #endif
Note:
See TracChangeset
for help on using the changeset viewer.