undefined4 FUN_00400e7c(char *param_1)

{
  int __fd;
  int iVar1;
  char acStack_30 [20];
  undefined4 local_1c;
  
  __fd = socket(2,1,0);
  if (-1 < __fd) {
    memset(acStack_30,0,0x20)   //possible issue identified - semgrep
    strcpy(acStack_30,param_1)   //possible issue identified - semgrep
    iVar1 = ioctl(__fd,0x8915,acStack_30);
    close(__fd);
    if (iVar1 == 0) {
      return local_1c;
    }
  }
  return 0;
}