main

Substitutes for the C main() function. It's purpose is to wrap the call to the D main() function and catch any unhandled exceptions.

  1. int main(char[][] args)
  2. int main(int argc, char** argv)
    version(!NoCMain)
    extern (C)
    int
    main
    (
    int argc
    ,
    char** argv
    )

Meta