| 11 | using namespace std; |
| 12 | |
| 13 | static inline void die(const string& s) |
| 14 | { |
| 15 | cerr << "error: writing to `" << s << "': " |
| 16 | << strerror(errno) << endl; |
| 17 | exit(EXIT_FAILURE); |
| 18 | } |
| 19 | |
| 20 | FastaWriter::FastaWriter(const char* path, bool append) |
| 21 | : m_path(path), m_fileHandle(fopen(path, append ? "a" : "w")) |
no outgoing calls
no test coverage detected