Printbuf rebuffed for now
Printbuf rebuffed for now
Posted Apr 29, 2022 6:31 UTC (Fri) by mb (subscriber, #50428)In reply to: Printbuf rebuffed for now by Paf
Parent article: Printbuf rebuffed for now
>And there’s no way to know at runtime if you have any to spare.
If you have a fixed stack size with known begin and end pointers, then you'd just have to subtract SP from the end pointer.
Buf of course, what would you do then? Print an error message? ;)
