bool getportlinkstatus(int param_1)
{
int __fd;
int iVar1;
int local_18 [3];
local_18[0] = param_1;
__fd = open("/dev/gpio",0) //possible issue identified - semgrep
if (-1 < __fd) {
iVar1 = ioctl(__fd,0x95,local_18);
close(__fd);
if (-1 < iVar1) {
return local_18[0] - 1U < 4;
}
}
return false;
}