Re: System calls parameter restrictions




Are you saying change the way a struct is passed? Or changing the value
in a struct?

The compiler can pass structs by value. But I think that is only for
structs with a fixed size.

To put it another way, allowing structures to be passed by value would
only help if you actually did pass any structures by value. However,
any ABI that actually did pass a structure by value would break if the
size of that structure changed.

DS

.