tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Conflicting fuse_opt.h



On Mon, Mar 28, 2022 at 09:03:07AM -0400, Mouse wrote:
> > If you want portable code, i'd refrain from using underspecified
> > types like `long' and just plain `int' in an interface!
> 
> Depending on what you're trying to do, int or long int may well be the
> more portable choice.  Using (for example) int32_t renders the code
> nonportable to systems that don't _have_ 32-bit integers - and slow on
> systems that don't have them in hardware but fake it in software for
> the sake of all the code that blindly assumes there is such a type.

true. I stated this because from what I read it was supposed to be an
interface between modules in/to fuse. Software written by different authors on
different systems who all might take different assumptions on its width. Thats
all really :)

Reinoud



Home | Main Index | Thread Index | Old Index