21 #ifndef XAPIAN_INCLUDED_FDTRACKER_H 22 #define XAPIAN_INCLUDED_FDTRACKER_H 29 # define XAPIAN_TESTSUITE_TRACK_FDS 33 #ifdef XAPIAN_TESTSUITE_TRACK_FDS 40 std::vector<bool>
fds;
71 bool check() {
return true; }
73 std::string
get_message()
const {
return std::string(); }
81 #endif // XAPIAN_INCLUDED_FDTRACKER_H void * dir_void
The DIR* from opendir("/proc/self/fd") (or equivalent) cast to void*.
FDTracker & operator=(const FDTracker &)=delete
const std::string & get_message() const
bool check_fd(int fd) const
std::vector< bool > fds
Which fds are open.