From 013e3857a1c6480dfd241fb14b36c55b0421939e Mon Sep 17 00:00:00 2001 From: YP3 Audiobook Date: Wed, 25 Nov 2026 17:45:43 -0500 Subject: initial commit --- tests/chapters/shim/file.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/chapters/shim/file.h (limited to 'tests/chapters/shim/file.h') diff --git a/tests/chapters/shim/file.h b/tests/chapters/shim/file.h new file mode 100644 index 0000000..7601b39 --- /dev/null +++ b/tests/chapters/shim/file.h @@ -0,0 +1,5 @@ +#pragma once +#include +#include +#include +static inline off_t ffilesize(int fd){ struct stat st; return fstat(fd,&st)?-1:st.st_size; } -- cgit v1.2.3