Subversion Repositories HelenOS

Rev

Rev 1787 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1866
Line 35... Line 35...
35
#include <stdarg.h>
35
#include <stdarg.h>
36
#include <stdio.h>
36
#include <stdio.h>
37
#include <string.h>
37
#include <string.h>
38
#include <io/printf_core.h>
38
#include <io/printf_core.h>
39
 
39
 
40
 
-
 
41
struct vsnprintf_data {
40
struct vsnprintf_data {
42
    size_t size; /* total space for string */
41
    size_t size; /* total space for string */
43
    size_t len; /* count of currently used characters */
42
    size_t len; /* count of currently used characters */
44
    char *string; /* destination string */
43
    char *string; /* destination string */
45
};
44
};
Line 106... Line 105...
106
   
105
   
107
    /* vsnprintf_write ensures that str will be terminated by zero. */
106
    /* vsnprintf_write ensures that str will be terminated by zero. */
108
    return printf_core(fmt, &ps, ap);
107
    return printf_core(fmt, &ps, ap);
109
}
108
}
110
 
109
 
111
 
-
 
112
 
-
 
113
 
-
 
114
 /** @}
110
/** @}
115
 */
111
 */
116
 
-
 
117
 
-