17 lines
292 B
C++
17 lines
292 B
C++
#ifndef TOOLS_H
|
|
#define TOOLS_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <array>
|
|
|
|
using namespace std;
|
|
|
|
const vector<string> explode(const string& s, const char& c, int n);
|
|
|
|
FILE * popen2(char * const argv, string type, int & pid);
|
|
|
|
int pclose2(FILE * fp, pid_t pid);
|
|
|
|
#endif // TOOLS_H
|