/usr/include/singular/singular/kernel/oswrapper/feread.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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #ifndef FEREAD_H
#define FEREAD_H
/****************************************
* * Computer Algebra System SINGULAR *
* ****************************************/
/*
* ABSTRACT: terminal input
*/
#include <kernel/structs.h>
extern char prompt_char; /*1 either '>' or '.'*/
#ifdef __cplusplus
/* the interface for reading: */
extern "C" char * (*fe_fgets_stdin)(const char *pr,char *s, int size);
#ifdef HAVE_DYN_RL
char * fe_fgets_stdin_drl(const char *pr,char *s, int size);
#endif
extern "C" void fe_reset_input_mode();
extern "C" {
#ifndef HAVE_ATEXIT
void fe_reset_fe (int i, void *v);
#else
void fe_reset_fe (void);
#endif
}
/* possible implementations: */
extern "C"
{
/* readline, linked in: */
char * fe_fgets_stdin_rl(const char *pr,char *s, int size);
/* emulated readline: */
char * fe_fgets_stdin_emu(const char *pr,char *s, int size);
/* fgets: */
char * fe_fgets(const char *pr,char *s, int size);
/* dummy (for batch mode): */
char * fe_fgets_dummy(const char *pr,char *s, int size);
}
const char * eati(const char *s, int *i);
#endif
#endif
|