Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ fdFromHandle
Function
fdFromHandle
source/core/StarFile_unix.cpp:26–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
namespace {
26
int fdFromHandle(void* ptr) {
27
return (int)(intptr_t)ptr;
28
}
29
30
void* handleFromFd(int handle) {
31
return (void*)(intptr_t)handle;
Callers
10
fseek
Method · 0.85
ftell
Method · 0.85
fread
Method · 0.85
fwrite
Method · 0.85
fsync
Method · 0.85
fclose
Method · 0.85
fsize
Method · 0.85
pread
Method · 0.85
pwrite
Method · 0.85
resize
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected