DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

close(TCL)


close -- close an open file

Syntax

close fileId

Description

Closes the file given by fileId. fileId must be the return value from a previous invocation of the open command, and should not be used again after this close command. If fileId refers to a command pipeline instead of a file, then close waits for the children to complete. The normal result of this command is an empty string, but errors are returned if there are problems in closing the file or waiting for children to complete.

See also

open(TCL)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003