Searched refs:HandleEINTR (Results 1 – 1 of 1) sorted by relevance
680 static auto HandleEINTR(const Func &func) -> decltype(func()) { in HandleEINTR() function691 int fd = HandleEINTR([&] { return open(path, O_RDONLY); }); in ReadFileToString()698 ssize_t ret = HandleEINTR([&] { return read(fd, buf, sizeof(buf)); }); in ReadFileToString()