Changeset 163e34c in mainline for common/include/printf_core.h
- Timestamp:
- 2025-04-13T19:33:48Z (3 months ago)
- Branches:
- master
- Children:
- f5e1692
- Parents:
- 97f6b71
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 18:56:51)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 19:33:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/include/printf_core.h
r97f6b71 r163e34c 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.