summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/rewinddir.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-22 16:15:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-22 16:15:40 +0000
commitd3b34d259e2c07a6804cb7b87d06288493424e22 (patch)
tree80cb58a345e3d47df75a6e4780bf5384c1a8e9b9 /c/src/lib/libc/rewinddir.c
parentCorrections from Jennifer and Jeff plus additions to the initialization (diff)
downloadrtems-d3b34d259e2c07a6804cb7b87d06288493424e22.tar.bz2
Changed all of these to stubs.
Diffstat (limited to 'c/src/lib/libc/rewinddir.c')
-rw-r--r--c/src/lib/libc/rewinddir.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/c/src/lib/libc/rewinddir.c b/c/src/lib/libc/rewinddir.c
index f480abf0f0..c85e6fd4d0 100644
--- a/c/src/lib/libc/rewinddir.c
+++ b/c/src/lib/libc/rewinddir.c
@@ -1,14 +1,6 @@
/*
* rewinddir() - POSIX 1003.1b - XXX
*
- * COPYRIGHT (c) 1989-1998.
- * On-Line Applications Research Corporation (OAR).
- * Copyright assigned to U.S. Government, 1994.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
* $Id$
*/
@@ -23,16 +15,6 @@ void rewinddir(
DIR *dirp
)
{
- off_t status;
-
- status = lseek( dirp->dd_fd, 0, SEEK_SET );
-
- if( status == -1 ) {
- printf("REWINDDIR: errno: %d\n", errno );
- assert(0);
- }
-
- dirp->dd_loc = 0;
-
-
+ errno = ENOSYS;
+ return -1;
}