title: Wrapper routine for write() with unistd.h included results in error
body: <p>I am writing a wrapper routine for <code>write()</code> to override the original system function and within it i need to execute another program through <code>execve()</code>; for which I include the header file <code>unistd.h</code>. I get the error <strong><code>conflicting types for 'write' /usr/include/unistd.h:363:16: note: previous declaration of 'write'was here</code></strong>. I would be very gratefull if someone could help me out as I need to call another program from inside the wrapper and also send arguments to it from inside the wrapper routine.</p>