33 std::perror(
"Remove failed");
40 for(std::size_t i=0; list[i]!=
nullptr; i++)
42 if(
strcmp(option, list[i])==0)
51 std::optional<std::size_t>
optnr;
93 if(!
optnr.has_value())
114 while(std::cin.
read(&
ch, 1))
125 return arg.is_infile_name;
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
std::optional< std::size_t > getoptnr(char option) const
std::vector< optiont > options
void add_infile_arg(const std::string &arg)
std::size_t get_optnr(const std::string &option)
bool have_infile_arg() const
static bool in_list(const char *option, const char **list)
bool has_prefix(const std::string &s, const std::string &prefix)
Command line interpretation for goto-cc.
int __CPROVER_ID java::java io InputStream read
#define UNREACHABLE
This should be used to mark dead code.
FILE * fopen(const char *filename, const char *mode)
int strcmp(const char *s1, const char *s2)
std::string get_temporary_file(const std::string &prefix, const std::string &suffix)
Substitute for mkstemps (OpenBSD standard) for Windows, where it is unavailable.