3 ms·
One problem is that POSIX uses null-terminated strings everywhere.
by amelius 7y ago
One problem is that POSIX uses null-terminated strings everywhere.
- colejohnson66 7y agoSo can’t you bill terminate your length prefixed string and pass a pointer to the data to POSIX. From what I understand, that’s how C++’s std::string works with ::c_str()
- saagarjha 7y agoStarting from C++11, yes.