Flavio Cruz, le sam. 12 nov. 2022 22:49:02 -0500, a ecrit:
> > > +// Dummy structure just to add padding to io_statbuf_t.
> > > +type io_statbuf_spare_int = struct[9] of int;
> > 
> > According to mach/hurd/bits/stat.h, it depends whether it's 32 or 64
> > bits.
> 
> Are you referring to __USE_FILE_OFFSET64?

No.

> Other than that, it also depends on the size of __fsid_t but that is 8
> bytes on both 32 or 64 bits, so not the same as sizeof (int).

Yes, that's what I mean. You can probably use a struct that uses long to
get the desired result.

Samuel

Reply via email to