summaryrefslogtreecommitdiff
path: root/static/unix-v10/man2/intr.2
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man2/intr.2
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man2/intr.2')
-rw-r--r--static/unix-v10/man2/intr.231
1 files changed, 31 insertions, 0 deletions
diff --git a/static/unix-v10/man2/intr.2 b/static/unix-v10/man2/intr.2
new file mode 100644
index 00000000..0cf8a064
--- /dev/null
+++ b/static/unix-v10/man2/intr.2
@@ -0,0 +1,31 @@
+.pa 1
+.he 'INTR (II)'3/15/72'INTR (II)'
+.ti 0
+NAME intr -- set interrupt handling
+.sp
+.ti 0
+SYNOPSIS sys intr; arg / intr = 27.
+.sp
+.ti 0
+DESCRIPTION When arg___ is 0,
+interrupts (ASCII DELETE) are ignored.
+When arg___ is 1,
+interrupts cause their normal result, that is, force an exit____.
+When arg___ is a location within the program, control is
+transferred to that location when an interrupt occurs.
+.sp
+After an interrupt is caught, it is possible to resume
+execution by means of an rti___ instruction; however, great
+care must be exercised, since
+all I/O is terminated abruptly upon an interrupt.
+In particular, reads of the typewriter tend to return
+with 0 characters read, thus simulating an end of file.
+.sp
+.ti 0
+SEE ALSO quit(II)
+.sp
+.ti 0
+DIAGNOSTICS --
+.sp
+.ti 0
+BUGS --