pclose()
The pclose() function closes a pipe opened by popen(). This is useful for cleaning up resources after executing a command.
popen()