in reply to Re: Bad Module Code
in thread Bad Module Code

Well, that depends. Some things may have useless return calls, such as those that try and push out a command.

take, say.. something that initiates garbage collection, or flushes buffers. You can't really say it succeeds or fails other than the fact that you've told it to run or not.

I readily admit, there could be a return value if the request for the subsystem to run is fine, but sometimes, you just don't know. Look at sun's sync function for instance :)

Replies are listed 'Best First'.
Re: Re: Re: Bad Module Code
by blue_cowdawg (Monsignor) on Jul 11, 2003 at 19:44 UTC

    look at sun's sync function for instance :)

    Please... I just ate... :-)


    Peter L. BergholdBrewer of Belgian Ales
    Peter@Berghold.Netwww.berghold.net
    Unix Professional