Annotation of 43BSD/ingres/doc/access/inpcloser.nr, revision 1.1.1.1

1.1       root        1: .th INPCLOSER AM 3/29/77
                      2: .sh NAME
                      3: inpcloser - close a relation that was opened as read only
                      4: .sh SYNOPSIS
                      5: .nf
                      6: inpcloser(d)
                      7: struct descriptor      *d;
                      8: .fi
                      9: .sh DESCRIPTION
                     10: INPCLOSER will close a relation that was opened by OPENR
                     11: with mode 0 (read only).
                     12: If a program never calls OPENR to open a relation with
                     13: mode 2 (read/write) then INPCLOSER should be used
                     14: to close the relation instead of CLOSER.
                     15: INPCLOSER uses less time
                     16: and memory than CLOSER.
                     17: .sh DIAGNOSTICS
                     18: .nf
                     19: AMCLOSE_ERR -- cannot close the unix file
                     20: 0 -- success
                     21: 1 -- relation was not open
                     22: 2 -- relation was opened mode 2 (read/write), CLOSER
                     23: must be used to close the relation
                     24: .fi
                     25: .sh "TRACE FLAGS"
                     26: 21.10
                     27: .sh "SEE ALSO"
                     28: closer, noclose, openr

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.