/usr/include/singular/singular/Singular/cntrlc.h is in libsingular4-dev-common 1:4.1.0-p3+ds-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #ifndef CNTRLC_H
#define CNTRLC_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT - interupt and signal handling
*/
#include <setjmp.h>
#include <kernel/mod2.h>
#include <kernel/structs.h>
extern jmp_buf si_start_jmpbuf;
extern short si_restart;
extern int siRandomStart;
extern BOOLEAN siCntrlc;
void init_signals();
extern BOOLEAN singular_in_batchmode;
/* TRUE for child of a fork or started with --batch*/
/* for deferring the call of m2_end() in SIGTERM handler if necessary */
extern volatile BOOLEAN do_shutdown;
extern volatile int defer_shutdown;
#endif
|