Add kj::strPreallocated() which writes into a pre-allocated string.
This is useful especially in signal handlers where malloc() is potentially unsafe.
Showing
Please
register
or
sign in
to comment
This is useful especially in signal handlers where malloc() is potentially unsafe.