MCPcopy Create free account
hub / github.com/boostorg/build / string_new_from_argv

Function string_new_from_argv

src/engine/execnt.cpp:1300–1312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298 */
1299
1300static void string_new_from_argv( string * result, char const * const * argv )
1301{
1302 assert( argv );
1303 assert( argv[ 0 ] );
1304 string_copy( result, *(argv++) );
1305 while ( *argv )
1306 {
1307 string_push_back( result, ' ' );
1308 string_push_back( result, '"' );
1309 string_append( result, *(argv++) );
1310 string_push_back( result, '"' );
1311 }
1312}
1313
1314
1315/*

Callers 1

exec_cmdFunction · 0.85

Calls 3

string_copyFunction · 0.85
string_push_backFunction · 0.85
string_appendFunction · 0.85

Tested by

no test coverage detected