File:  [CSRG BSD Unix] / 43BSD / ingres / doc / access / inpcloser.nr
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.th INPCLOSER AM 3/29/77
.sh NAME
inpcloser - close a relation that was opened as read only
.sh SYNOPSIS
.nf
inpcloser(d)
struct descriptor	*d;
.fi
.sh DESCRIPTION
INPCLOSER will close a relation that was opened by OPENR
with mode 0 (read only).
If a program never calls OPENR to open a relation with
mode 2 (read/write) then INPCLOSER should be used
to close the relation instead of CLOSER.
INPCLOSER uses less time
and memory than CLOSER.
.sh DIAGNOSTICS
.nf
AMCLOSE_ERR -- cannot close the unix file
0 -- success
1 -- relation was not open
2 -- relation was opened mode 2 (read/write), CLOSER
must be used to close the relation
.fi
.sh "TRACE FLAGS"
21.10
.sh "SEE ALSO"
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.