Re: [Nagios-devel] novel idea for performance optimization

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] novel idea for performance optimization

Post by Guest »

(just a small correction)
>
> if they are written poorly enough. This could be worked around fairly
> easily by doing fdopen() on the FILE-pointer returned by popen() and
> doing some select on it.
>

This can ofcourse NOT be worked around by doing an fdopen on the FILE
pointer returned by popen(3). Something along the lines of

inline int fp_to_fd(FILE *f)
{
return f->_fileno;
}

was what I had in mind (who the hell uses fdopen() anyway?).


--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Lead Developer





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked