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

Function prepare_command_file

src/engine/execnt.cpp:1267–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265 */
1266
1267static char const * prepare_command_file( string const * command, int32_t slot )
1268{
1269 FILE * const f = open_command_file( slot );
1270 if ( !f )
1271 {
1272 err_printf( "failed to write command file!\n" );
1273 exit( EXITBAD );
1274 }
1275 fputs( command->value, f );
1276 fclose( f );
1277 return cmdtab[ slot ].command_file->value;
1278}
1279
1280
1281/*

Callers 1

exec_cmdFunction · 0.85

Calls 2

open_command_fileFunction · 0.85
err_printfFunction · 0.85

Tested by

no test coverage detected