Vassilii,
Thanks for the update.
I really don't care which way it goes. It sounds like SCO feels
very strongly on this matter. Perhaps putting it to int would
set the matter to rest. It's Dave's call, anyway.
(If all I had to worry about was changing 4 lines of code, I
would be on vacation now...)
--Brian
On Wed, 14 Mar 2001, Khachaturov, Vassilii wrote:
> Just got an answer from SCO. Here is an update to the list, as promised.
>
> They say:
> "if you are talking about return value, we currently don't use them."
>
> and back this up by excerpts from the SCO STREAMS stack code calling
> put and service routines. As for the plain "return;" used in SVR4 STREAMS
> programmer's guide examples, they say this might be dangerous:
>
> "This can generate random results (as the "return" is compiler
> dependant). As the function is is defined as an int and must therefore
> return an int. Looking source code, the best value to return is 0."
>
> (Last sentence refers to their own streams modules that all return 0.
> But, as said before, the return value is always discarded on their stack).
>
> Vassilii
>
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
[EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams