print.c

the xxxprintf base funtion

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
print.cthe xxxprintf base funtion
Fixmes
one too many flags to work on a 16-bit machine, join some (e. g. thewidth flags) into a combined field.
Macros
DELIVERThis macro delivers a given character to either a memory buffer or a stream, depending on the contents of ‘status’ (struct _PDCLIB_status_t).
Todo’s
Flags, wide chars.
Flags, wide chars.
E_long -> E_intptr
Check for invalid flag combinations.
Fixmes
The if clause means one-digit values do not get formatted

Fixmes

one too many flags to work on a 16-bit machine, join some (e. g. the

width flags) into a combined field.

Macros

DELIVER

This macro delivers a given character to either a memory buffer or a stream, depending on the contents of ‘status’ (struct _PDCLIB_status_t). x - the character to be delivered i - pointer to number of characters already delivered in this call n - pointer to maximum number of characters to be delivered in this call s - the buffer into which the character shall be delivered

Todo’s

Flags, wide chars.

Flags, wide chars.

E_long -> E_intptr

Check for invalid flag combinations.

Fixmes

The if clause means one-digit values do not get formatted