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

Function prepare_command_file

v2/engine/execnt.c:1157–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155 */
1156
1157static char const * prepare_command_file( string const * command, int slot )
1158{
1159 FILE * const f = open_command_file( slot );
1160 if ( !f )
1161 {
1162 printf( "failed to write command file!\n" );
1163 exit( EXITBAD );
1164 }
1165 fputs( command->value, f );
1166 fclose( f );
1167 return cmdtab[ slot ].command_file->value;
1168}
1169
1170
1171/*

Callers 1

exec_cmdFunction · 0.85

Calls 1

open_command_fileFunction · 0.85

Tested by

no test coverage detected