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

Function raw_maxline

v2/engine/execnt.c:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508 */
509
510static int raw_maxline()
511{
512 OSVERSIONINFO os_info;
513 os_info.dwOSVersionInfoSize = sizeof( os_info );
514 GetVersionEx( &os_info );
515
516 if ( os_info.dwMajorVersion >= 5 ) return 8191; /* XP */
517 if ( os_info.dwMajorVersion == 4 ) return 2047; /* NT 4.x */
518 return 996; /* NT 3.5.1 */
519}
520
521static int maxline()
522{

Callers 1

maxlineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected