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

Function path_get_temp_path_

v2/engine/pathnt.c:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 */
58
59void path_get_temp_path_( string * buffer )
60{
61 DWORD pathLength = GetTempPathA( 0, NULL );
62 string_reserve( buffer, pathLength );
63 pathLength = GetTempPathA( pathLength, buffer->value );
64 buffer->value[ pathLength - 1 ] = '\0';
65 buffer->size = pathLength - 1;
66}
67
68
69/*

Callers 1

path_tmpdirFunction · 0.70

Calls 1

string_reserveFunction · 0.85

Tested by

no test coverage detected