Re: portability and return
"Bill Cunningham" <nospam@nspam.c omwrites:
You are for sure trolling. Please stop.
"Bill Cunningham" <nospam@nspam.c omwrites:
"Peter Nilsson" <airia@acay.com .auwrote in message
news:3222fc05-7aee-4eb3-b874-eb55981751dd@v2 6g2000prm.googl egroups.com...
>
Yes. Would return -1 from a function other than main be ok? I'm guessing
no but I thought I'd ask.
>
Bill
news:3222fc05-7aee-4eb3-b874-eb55981751dd@v2 6g2000prm.googl egroups.com...
>Bill Cunningham wrote:
>>
>Presumably you're talking about the return value from main()?
>>I have heard that return -1 is not portable.
>Presumably you're talking about the return value from main()?
Yes. Would return -1 from a function other than main be ok? I'm guessing
no but I thought I'd ask.
>
Bill
Comment