MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / get_fsockout

Function get_fsockout

tests/rigctld.c:1108–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106}
1107
1108static FILE *get_fsockout(struct handle_data *handle_data_arg)
1109{
1110#ifdef __MINGW32__
1111 int sock_osfhandle = _open_osfhandle(handle_data_arg->sock, _O_RDONLY);
1112 return _fdopen(sock_osfhandle, "wb");
1113#else
1114 return fdopen(handle_data_arg->sock, "wb");
1115#endif
1116}
1117
1118static FILE *get_fsockin(struct handle_data *handle_data_arg)
1119{

Callers 1

handle_socketFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected