aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/truncate.c')
-rw-r--r--ports/unix/guts/truncate.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/unix/guts/truncate.c b/ports/unix/guts/truncate.c
new file mode 100644
index 0000000..6a19a50
--- /dev/null
+++ b/ports/unix/guts/truncate.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static int
+ * wrap_truncate(const char *path, off_t length) {
+ * int rc = -1;
+ */
+
+ rc = real_truncate(path, length);
+
+/* return rc;
+ * }
+ */