Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fmtutil/fmtutil.h

    rb7fd2a0 r9d58539  
    4242 * @param data user data
    4343 *
    44  * @returns EOK on success or an error code on failure
     44 * @returns EOK on success or error code on failure
    4545 */
    46 typedef errno_t (*line_consumer_fn)(wchar_t *, size_t, bool, void *);
     46typedef int (*line_consumer_fn)(wchar_t *, size_t, bool, void *);
    4747
    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);
     48extern int print_aligned_w(const wchar_t *, size_t, bool, align_mode_t);
     49extern int print_aligned(const char *, size_t, bool, align_mode_t);
     50extern int print_wrapped(const char *, size_t, align_mode_t);
     51extern int print_wrapped_console(const char *, align_mode_t);
    5252
    5353/** Wrap characters in a wide string to the given length.
     
    5858 * @param data user data to pass to the consumer function
    5959 */
    60 extern errno_t wrap(wchar_t *, size_t, line_consumer_fn, void *);
     60extern int wrap(wchar_t *, size_t, line_consumer_fn, void *);
Note: See TracChangeset for help on using the changeset viewer.