Changeset c7c6afd in mainline for common/include/printf_core.h
- Timestamp:
- 2025-04-13T23:27:44Z (4 weeks ago)
- Children:
- b6061f8c
- Parents:
- 240b2e4 (diff), f5e1692 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Wayne Thornton <wmthornton-dev@…> (2025-04-13 23:27:44)
- git-committer:
- GitHub <noreply@…> (2025-04-13 23:27:44)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/include/printf_core.h
r240b2e4 rc7c6afd 36 36 #define _LIBC_PRINTF_CORE_H_ 37 37 38 #include <errno.h> 39 #include <stdarg.h> 38 40 #include <stddef.h> 39 #include <stdarg.h>40 41 #include <uchar.h> 41 42 42 43 /** Structure for specifying output methods for different printf clones. */ 43 44 typedef struct { 44 /* String output function, returns number of printed characters or EOF */ 45 int (*str_write)(const char *, size_t, void *); 46 47 /* Wide string output function, returns number of printed characters or EOF */ 48 int (*wstr_write)(const char32_t *, size_t, void *); 45 /* 46 * String output function, returns EOK on success. 47 * Only returns an error when an irrecoverable failure occurs and 48 * the string cannot be fully output. 49 */ 50 errno_t (*write)(const char *, size_t, void *); 49 51 50 52 /* User data - output stream specification, state, locks, etc. */
Note:
See TracChangeset
for help on using the changeset viewer.