close(1tcl)


close -- close an open file

Synopsis

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.

References

open(1tcl)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004