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

Function string_new_from_argv

v2/engine/execnt.c:1190–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188 */
1189
1190static void string_new_from_argv( string * result, char const * const * argv )
1191{
1192 assert( argv );
1193 assert( argv[ 0 ] );
1194 string_copy( result, *(argv++) );
1195 while ( *argv )
1196 {
1197 string_push_back( result, ' ' );
1198 string_append( result, *(argv++) );
1199 }
1200}
1201
1202
1203/*

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