MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / StringVectorToCharPtrVector

Function StringVectorToCharPtrVector

src/dmtcprestartinternal.cpp:425–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425vector<char*> StringVectorToCharPtrVector(vector<string> const& strings)
426{
427 vector<char*> ptrs;
428 for (size_t i = 0; i < strings.size(); i++) {
429 ptrs.push_back((char*) strings[i].c_str());
430 }
431
432 return ptrs;
433}
434
435static void
436runMtcpRestart(int fd, RestoreTarget *restoreTarget)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected