MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / fstat64

Method fstat64

source/kernel/kprocess.cpp:1963–1970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1961}
1962
1963U32 KProcess::fstat64(FD handle, U32 buf) {
1964 KFileDescriptorPtr fd = this->getFileDescriptor(handle);
1965
1966 if (!fd) {
1967 return -K_EBADF;
1968 }
1969 return fd->kobject->stat(this, buf, true);
1970}
1971
1972U32 KProcess::mincore(U32 address, U32 length, U32 vec) {
1973 U32 pages = (length+K_PAGE_SIZE+1)/K_PAGE_SIZE;

Callers 1

syscall_fstat64Function · 0.80

Calls 2

getFileDescriptorMethod · 0.95
statMethod · 0.45

Tested by

no test coverage detected