MCPcopy Create free account
hub / github.com/F-Stack/f-stack / stat

Class stat

dpdk/lib/eal/linux/eal_memalloc.c:196–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194get_file_size(int fd)
195{
196 struct stat st;
197 if (fstat(fd, &st) < 0)
198 return 0;
199 return st.st_size;

Callers 1

get_seg_fdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected