int FUN_004033f0(char *param_1,ulong param_2,char *param_3)

{
  int __fd;
  int iVar1;
  
  __fd = socket(2,1,0);
  iVar1 = -1;
  if (-1 < __fd) {
    memset(param_3,0,0x20)   //possible issue identified - semgrep
    strcpy(param_3,param_1)   //possible issue identified - semgrep
    iVar1 = ioctl(__fd,param_2,param_3);
    close(__fd);
  }
  return iVar1;
}