close
close(
p_port
)
=> t
Description
Drains, closes, and frees a port. When a file is closed, it frees the FILE* associated with p_port. Do not use this function on piport, poport, stdin, stdout, and stderr.
Arguments
Value Returned
Examples
p = outfile("~/test/myFile")
=> port:"~/test/myFile"
close(p)
=> t
Related Topics
Return to top