aboutsummaryrefslogtreecommitdiff
path: root/sys_reqc.c
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-04-01 20:22:48 -0400
committerBen Burwell <ben@benburwell.com>2015-04-01 20:22:48 -0400
commite781fb26fdd422ea72c3a0eeba817e4faa5f663b (patch)
tree7f73aa21426320dc13d74c1dde1e591ef97fb44a /sys_reqc.c
parente468dc911189e71509012fb0ed228cc765f641fa (diff)
as of 2013-10-172013-10-17
Diffstat (limited to 'sys_reqc.c')
-rw-r--r--sys_reqc.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys_reqc.c b/sys_reqc.c
deleted file mode 100644
index 7856032..0000000
--- a/sys_reqc.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * file: sys_reqc.c
- *
- * This is the MPX system request function which
- * uses the C gets function.
- */
-
-
-
-/* sys_req - implements the MPX system request function.
- *
- * Parameters: number - request number: a device or exit code.
- * type - request type: read, write, wait, signal.
- * s - address of read/write buffer.
- * length - address of buffer length variable.
- *
- * Return value: None
- *
- * In this module, the only system request allowed is to
- * read from the console (keyboard). This is done using
- * the standard C function gets().
- */
-
-
-void sys_req(int number, int type, char *s, int *length)
-{
- gets(s); /* Read a string from the keyboard. */
- *length = strlen(s); /* Get its length. */
-}
-