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

Function builtin_self_path

v2/engine/builtins.c:1817–1828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1815
1816
1817LIST * builtin_self_path( FRAME * frame, int flags )
1818{
1819 extern char const * saved_argv0;
1820 char * p = executable_path( saved_argv0 );
1821 if ( p )
1822 {
1823 LIST * const result = list_new( object_new( p ) );
1824 free( p );
1825 return result;
1826 }
1827 return L0;
1828}
1829
1830
1831LIST * builtin_makedir( FRAME * frame, int flags )

Callers

nothing calls this directly

Calls 4

executable_pathFunction · 0.85
list_newFunction · 0.85
object_newFunction · 0.85
freeFunction · 0.85

Tested by

no test coverage detected