aboutsummaryrefslogtreecommitdiffstats
path: root/ports/darwin/guts/sync_file_range.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/darwin/guts/sync_file_range.c')
-rw-r--r--ports/darwin/guts/sync_file_range.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/darwin/guts/sync_file_range.c b/ports/darwin/guts/sync_file_range.c
new file mode 100644
index 0000000..e0a31a4
--- /dev/null
+++ b/ports/darwin/guts/sync_file_range.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2013 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * int sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags)
+ * int rc = -1;
+ */
+
+ rc = real_sync_file_range(fd, offset, nbytes, flags);
+
+/* return rc;
+ * }
+ */