summaryrefslogtreecommitdiff
path: root/static/v10/man2/close.2
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man2/close.2
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man2/close.2')
-rw-r--r--static/v10/man2/close.227
1 files changed, 27 insertions, 0 deletions
diff --git a/static/v10/man2/close.2 b/static/v10/man2/close.2
new file mode 100644
index 00000000..b5d74fbd
--- /dev/null
+++ b/static/v10/man2/close.2
@@ -0,0 +1,27 @@
+.pa 1
+.he 'CLOSE (II)'3/15/72'CLOSE (II)'
+.ti 0
+NAME close -- close a file
+.sp
+.ti 0
+SYNOPSIS (file descriptor in r0)
+.br
+sys close / close = 6.
+.sp
+.ti 0
+DESCRIPTION Given
+a file descriptor such as returned from an open or creat call,
+close_____ closes the associated file.
+A close of all files is automatic on exit, but since
+processes are limited to 10 simultaneously open files,
+close_____ is necessary for programs which deal with many files.
+.sp
+.ti 0
+SEE ALSO creat(II), open(II)
+.sp
+.ti 0
+DIAGNOSTICS The error bit
+(c-bit) is set for an unknown file descriptor.
+.sp
+.ti 0
+BUGS --