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

Function openPort

simulators/sim.h:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58#if defined(WIN32) || defined(_WIN32)
59int openPort(char *comport) // doesn't matter for using pts devices
60{
61 int fd;
62 fd = open(comport, O_RDWR);
63
64 if (fd < 0)
65 {
66 perror(comport);
67 }
68
69 return fd;
70}
71
72#else
73int openPort(char *comport) // doesn't matter for using pts devices

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected