|
|
HANDLE hSerial = CreateFile(devpath, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
|
|
HANDLE hSerial = CreateFile(devpath, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
|
|
|
return _open_osfhandle((LONG)hSerial, 0);
|
|
return _open_osfhandle((LONG)hSerial, 0);
|
|
|
int fdDev = open(devpath, O_RDWR | O_CLOEXEC | O_NOCTTY);
|
|
int fdDev = open(devpath, O_RDWR | O_CLOEXEC | O_NOCTTY);
|