<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">Hi, </span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">     I am currently trying to develop a plugin in C, and it runs fine on the command-line, but Nagios is returning (null) as its output.  After research, and also reviewing the following article on developing plugins with C (<a href="http://nagiosplug.sourceforge.net/developer-guidelines.html#SYSCMDAUXFILES" target="_blank" style="color:rgb(17,85,204)">http://nagiosplug.sourceforge.net/developer-guidelines.html#SYSCMDAUXFILES</a>) I found that it is because I lack the spopen() function; I think?  I have tried to include this in my C source, but I keep getting errors when trying to compile it such as conflicts with some functions from the standard library headers like string.h.  Is there a compiler argument I need to use in particular when compiling my plugin?  Thanks!</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">
Best,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">
John</div>