result = INLINE_SYSCALL (fstat64, 2, fd, &buf64); if (result == 0) result = xstat32_conv (vers, &buf64, buf); return result;
{ struct stat64 buf64;  result = INLINE_SYSCALL (fstat64, 2, fd, &buf64); if (result == 0) result = xstat32_conv (vers, &buf64, buf); return result; }
__fxstat (int vers, int fd, struct stat *buf){  struct kernel_stat kbuf;  int result;  if (vers == _STAT_VER_KERNEL)    {      return INLINE_SYSCALL (fstat, 2, fd, (struct kernel_stat *) buf);    }#if __ASSUME_STAT64_SYSCALL > 0  result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);  if (result == 0)    result = xstat32_conv (vers, &buf64, buf);  return result;#else# if defined __NR_stat64  /* To support 32 bit UIDs, we have to use stat64.  The normal stat call only returns     16 bit UIDs.  */  if (! __have_no_stat64)    {      struct stat64 buf64;      result = INLINE_SYSCALL (fstat64, 2, fd, &buf64);      if (result == 0)	result = xstat32_conv (vers, &buf64, buf);            if (result != -1 || errno != ENOSYS)	return result;      __have_no_stat64 = 1;    }# endif    result = INLINE_SYSCALL (fstat, 2, fd, &kbuf);  if (result == 0)    result = xstat_conv (vers, &kbuf, buf);  return result;#endif  /* __ASSUME_STAT64_SYSCALL  */}