JanetDocsPlaygroundI'm feeling luckyGitHub sign in

file/close



    cfunction

    (file/close f)

    Close a file and release all related resources. When you are done
    reading a file, close it to prevent a resource leak and let other
    processes read the file. If the file is the result of a file/popen
    call, close waits for and returns the process exit status.


See also:file/open0 examplesSign in to add an example
Loading...