C has those too and am glad that they do. This is what allows one to do other things while the buffer gets filled, without the need for multithreading.
Yes easier standardized async interfaces would have been nice, not sure how well supported they are.
FrankWilhoit•33m ago