Close a file identifier that was opened by popen. You may also use fclose for the same purpose.
popen
fclose