News for hackers. Stuff that matters.
Re:Efficient string copying and concatenation in C by colejohnson66 on Thursday September 12, 2019 @09:32PM (#20958309)
So 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()
Re:Efficient string copying and concatenation in C by saagarjha on Friday September 13, 2019 @12:29AM (#20959178)
Starting from C++11, yes.