summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-06 19:00:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-06 19:00:33 +0000
commit270d58fe4c2245a47bb7417690fc4782fad4f0f2 (patch)
tree76c4216c5a9b9e5248610497f60d50f8d335887f /cpukit
parentMissed this file in the initial merge. (diff)
downloadrtems-270d58fe4c2245a47bb7417690fc4782fad4f0f2.tar.bz2
New file to satisfy readdir() family.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libcsupport/src/getdents.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/getdents.c b/cpukit/libcsupport/src/getdents.c
new file mode 100644
index 0000000000..9b16d82409
--- /dev/null
+++ b/cpukit/libcsupport/src/getdents.c
@@ -0,0 +1,14 @@
+/*
+ * Just enough to make newlib return an error.
+ *
+ * $Id$
+ */
+
+int getdents(
+ int fd,
+ void *buf,
+ int len
+)
+{
+ return -1;
+}