hi,

it should be ByteArray.
if you explain more in detail your problem, I can try to help you better :)

Esteban

On Nov 28 2021, at 9:20 am, Gerry Weaver <gerryw@compvia.com> wrote:
 
Hello All,

Pharo newbie here. I'm playing around with uFFI and I'm having trouble figuring out how to provide a buffer to C. It looks like maybe ByteArray would be the type, but it's not working. Would some one be so kind as to show me an example with the C function gethostname?


Thanks,
Gerry