this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #178 from kamillys/master

Add __simple_sprintf

authored by

Luboš Doležel and committed by
GitHub
ab8eae56 85fd2f16

+10
+9
src/kernel/emulation/linux/simple.c
··· 117 117 LINUX_SYSCALL3(__NR_write, 1, buffer, __simple_strlen(buffer)); 118 118 } 119 119 120 + void __simple_sprintf(char *buffer, const char* format, ...) 121 + { 122 + va_list vl; 123 + 124 + va_start(vl, format); 125 + __simple_vsprintf(buffer, format, vl); 126 + va_end(vl); 127 + } 128 + 120 129 extern void *memmove(void *dest, const void *src, __SIZE_TYPE__ n); 121 130 extern void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n); 122 131 extern void *memchr(const void *s, int c, __SIZE_TYPE__ n);
+1
src/kernel/emulation/linux/simple.h
··· 2 2 #define LINUX_DEBUG_H 3 3 4 4 void __simple_printf(const char* format, ...); 5 + void __simple_sprintf(char *buffer, const char* format, ...); 5 6 int __simple_strlen(const char* str); 6 7 7 8 struct simple_readline_buf