aboutsummaryrefslogtreecommitdiffstats
path: root/guts/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/close.c')
-rw-r--r--guts/close.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/guts/close.c b/guts/close.c
new file mode 100644
index 0000000..8edbee9
--- /dev/null
+++ b/guts/close.c
@@ -0,0 +1,14 @@
+/*
+ * static int
+ * wrap_close(int fd) {
+ * int rc = -1;
+ */
+ /* this cleans up an internal table, and shouldn't even
+ * make it to the server.
+ */
+ pseudo_client_op(OP_CLOSE, 0, fd, -1, 0, 0);
+ rc = real_close(fd);
+
+/* return rc;
+ * }
+ */