git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: add a async read/write variant to device ops, with allow async io to be...
[lunaix-os.git]
/
lunaix-os
/
includes
/
klibc
/
strfmt.h
diff --git
a/lunaix-os/includes/klibc/strfmt.h
b/lunaix-os/includes/klibc/strfmt.h
index 92fd3acb6b9994a571459ec3b550d2c9f39ab463..060dd702228f62cd8443fa9235fbe3daf0d0bb94 100644
(file)
--- a/
lunaix-os/includes/klibc/strfmt.h
+++ b/
lunaix-os/includes/klibc/strfmt.h
@@
-1,13
+1,12
@@
#ifndef __LUNAIX_STRFMT_H
#define __LUNAIX_STRFMT_H
#include <stdarg.h>
#ifndef __LUNAIX_STRFMT_H
#define __LUNAIX_STRFMT_H
#include <stdarg.h>
-#include <stddef.h>
-size_t
-ksnprintfv(char* buffer, const char* fmt,
size_t
max_len, va_list vargs);
+unsigned long
+ksnprintfv(char* buffer, const char* fmt,
unsigned long
max_len, va_list vargs);
-size_t
+unsigned long
ksprintf(char* buffer, char* fmt, ...);
ksprintf(char* buffer, char* fmt, ...);
-size_t
-ksnprintf(char* buffer,
size_t
n, char* fmt, ...);
+unsigned long
+ksnprintf(char* buffer,
unsigned long
n, char* fmt, ...);
#endif /* __LUNAIX_STRFMT_H */
#endif /* __LUNAIX_STRFMT_H */