src/main.c File Reference
Detailed Description
main file for C compilation
Definition in file main.c.
#include <stdio.h>
#include <signal.h>
#include "scip/scip.h"
#include "scip/scipshell.h"
#include "scip/interrupt.h"
Go to the source code of this file.
Functions | |
static void | handleSigterm (int signum) |
int | main (int argc, char **argv) |
Function Documentation
◆ handleSigterm()
|
static |
callback function for handling signals
- Parameters
-
signum signal code
Definition at line 43 of file main.c.
References SCIPtryTerminate().
Referenced by main().
◆ main()
int main | ( | int | argc, |
char ** | argv | ||
) |
main method starting SCIP
- Parameters
-
argc number of arguments from the shell argv array of shell arguments
Definition at line 53 of file main.c.
References handleSigterm(), SCIP_OKAY, SCIPprintError(), and SCIPrunShell().