diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-22 16:15:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-22 16:15:40 +0000 |
commit | d3b34d259e2c07a6804cb7b87d06288493424e22 (patch) | |
tree | 80cb58a345e3d47df75a6e4780bf5384c1a8e9b9 /cpukit/libcsupport/src/seekdir.c | |
parent | Corrections from Jennifer and Jeff plus additions to the initialization (diff) | |
download | rtems-d3b34d259e2c07a6804cb7b87d06288493424e22.tar.bz2 |
Changed all of these to stubs.
Diffstat (limited to 'cpukit/libcsupport/src/seekdir.c')
-rw-r--r-- | cpukit/libcsupport/src/seekdir.c | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/cpukit/libcsupport/src/seekdir.c b/cpukit/libcsupport/src/seekdir.c index f887c7e28b..e591adbb9f 100644 --- a/cpukit/libcsupport/src/seekdir.c +++ b/cpukit/libcsupport/src/seekdir.c @@ -1,14 +1,6 @@ /* * seekdir() - 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$ */ @@ -20,17 +12,10 @@ #include <errno.h> void seekdir( - DIR *dirp, - long loc + DIR *dirp, + long loc ) { - off_t status; - - status = lseek( dirp->dd_fd, loc, SEEK_SET ); - - if( status == -1 ) { - printf("SEEKDIR: errno: %d\n", errno ); - } - dirp->dd_loc = 0; - + errno = ENOSYS; + return -1; } |