int mq_getattr(mqd_t __mqdes,mq_attr *__mqstat)
{
int *piVar1;
int in_a3;
int iVar2;
syscall(0) //possible issue identified - semgrep
iVar2 = 0x10b4;
if (in_a3 != 0) {
piVar1 = __errno_location();
*piVar1 = 0x10b4;
iVar2 = -1;
}
return iVar2;
}