From 863e11ac4d6a49787cd5e5f6fe1cd771d0ceb100 Mon Sep 17 00:00:00 2001 From: Rahat Mahmood Date: Thu, 29 Aug 2019 14:29:43 -0700 Subject: Implement /proc/net/udp. PiperOrigin-RevId: 266229756 --- test/util/fs_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/util/fs_util.h') diff --git a/test/util/fs_util.h b/test/util/fs_util.h index 3969f8309..e5b555891 100644 --- a/test/util/fs_util.h +++ b/test/util/fs_util.h @@ -35,6 +35,9 @@ PosixErrorOr Exists(absl::string_view path); // Returns a stat structure for the given path or an error. PosixErrorOr Stat(absl::string_view path); +// Returns a stat struct for the given fd. +PosixErrorOr Fstat(int fd); + // Deletes the file or directory at path or returns an error. PosixError Delete(absl::string_view path); -- cgit v1.2.3