Closes a file descriptor.
#include <prio.h> PRStatus PR_Close(PRFileDesc *fd);
The function has the following parameters:
fd
PRFileDesc
object.One of the following values:
PR_SUCCESS
.PR_FAILURE
.The file descriptor may represent a normal file, a socket, or an end point of a pipe. On successful return, PR_Close
frees the dynamic memory and other resources identified by the fd
parameter.