Changes in uspace/lib/fmtutil/fmtutil.h [b7fd2a0:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fmtutil/fmtutil.h
rb7fd2a0 r9d58539 42 42 * @param data user data 43 43 * 44 * @returns EOK on success or anerror code on failure44 * @returns EOK on success or error code on failure 45 45 */ 46 typedef errno_t (*line_consumer_fn)(wchar_t *, size_t, bool, void *);46 typedef int (*line_consumer_fn)(wchar_t *, size_t, bool, void *); 47 47 48 extern errno_t print_aligned_w(const wchar_t *, size_t, bool, align_mode_t);49 extern errno_t print_aligned(const char *, size_t, bool, align_mode_t);50 extern errno_t print_wrapped(const char *, size_t, align_mode_t);51 extern errno_t print_wrapped_console(const char *, align_mode_t);48 extern int print_aligned_w(const wchar_t *, size_t, bool, align_mode_t); 49 extern int print_aligned(const char *, size_t, bool, align_mode_t); 50 extern int print_wrapped(const char *, size_t, align_mode_t); 51 extern int print_wrapped_console(const char *, align_mode_t); 52 52 53 53 /** Wrap characters in a wide string to the given length. … … 58 58 * @param data user data to pass to the consumer function 59 59 */ 60 extern errno_t wrap(wchar_t *, size_t, line_consumer_fn, void *);60 extern int wrap(wchar_t *, size_t, line_consumer_fn, void *);
Note:
See TracChangeset
for help on using the changeset viewer.