Changeset 19b74f31 in rtems
- Timestamp:
- 11/02/99 16:25:05 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a504ced3
- Parents:
- 3fb2a8da
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/src/readdir.c
r3fb2a8da r19b74f31 57 57 register struct dirent *dp; 58 58 59 if ( !dirp ) 60 return NULL; 61 59 62 for (;;) { 60 63 if (dirp->dd_loc == 0) { -
c/src/exec/libcsupport/src/rewinddir.c
r3fb2a8da r19b74f31 25 25 off_t status; 26 26 27 if ( !dirp ) 28 return; 29 27 30 status = lseek( dirp->dd_fd, 0, SEEK_SET ); 28 31 -
c/src/exec/libcsupport/src/seekdir.c
r3fb2a8da r19b74f31 26 26 off_t status; 27 27 28 if ( !dirp ) 29 return; 30 28 31 status = lseek( dirp->dd_fd, loc, SEEK_SET ); 29 32 … … 31 34 * This is not a nice way to error out, but we have no choice here. 32 35 */ 33 if( status == -1 ) 36 37 if ( status == -1 ) 34 38 return; 35 39 -
c/src/exec/libcsupport/src/telldir.c
r3fb2a8da r19b74f31 17 17 #include <stdlib.h> 18 18 #include <unistd.h> 19 #include <errno.h> 19 20 20 21 #include "libio_.h" … … 27 28 rtems_libio_t *iop; 28 29 30 if ( !dirp ) 31 set_errno_and_return_minus_one( EBADF ); 32 29 33 /* 30 * Get the file control block structure associated with the file descriptor 34 * Get the file control block structure associated with the 35 * file descriptor 31 36 */ 32 37 -
c/src/lib/libc/readdir.c
r3fb2a8da r19b74f31 57 57 register struct dirent *dp; 58 58 59 if ( !dirp ) 60 return NULL; 61 59 62 for (;;) { 60 63 if (dirp->dd_loc == 0) { -
c/src/lib/libc/rewinddir.c
r3fb2a8da r19b74f31 25 25 off_t status; 26 26 27 if ( !dirp ) 28 return; 29 27 30 status = lseek( dirp->dd_fd, 0, SEEK_SET ); 28 31 -
c/src/lib/libc/seekdir.c
r3fb2a8da r19b74f31 26 26 off_t status; 27 27 28 if ( !dirp ) 29 return; 30 28 31 status = lseek( dirp->dd_fd, loc, SEEK_SET ); 29 32 … … 31 34 * This is not a nice way to error out, but we have no choice here. 32 35 */ 33 if( status == -1 ) 36 37 if ( status == -1 ) 34 38 return; 35 39 -
c/src/lib/libc/telldir.c
r3fb2a8da r19b74f31 17 17 #include <stdlib.h> 18 18 #include <unistd.h> 19 #include <errno.h> 19 20 20 21 #include "libio_.h" … … 27 28 rtems_libio_t *iop; 28 29 30 if ( !dirp ) 31 set_errno_and_return_minus_one( EBADF ); 32 29 33 /* 30 * Get the file control block structure associated with the file descriptor 34 * Get the file control block structure associated with the 35 * file descriptor 31 36 */ 32 37 -
cpukit/libcsupport/src/readdir.c
r3fb2a8da r19b74f31 57 57 register struct dirent *dp; 58 58 59 if ( !dirp ) 60 return NULL; 61 59 62 for (;;) { 60 63 if (dirp->dd_loc == 0) { -
cpukit/libcsupport/src/rewinddir.c
r3fb2a8da r19b74f31 25 25 off_t status; 26 26 27 if ( !dirp ) 28 return; 29 27 30 status = lseek( dirp->dd_fd, 0, SEEK_SET ); 28 31 -
cpukit/libcsupport/src/seekdir.c
r3fb2a8da r19b74f31 26 26 off_t status; 27 27 28 if ( !dirp ) 29 return; 30 28 31 status = lseek( dirp->dd_fd, loc, SEEK_SET ); 29 32 … … 31 34 * This is not a nice way to error out, but we have no choice here. 32 35 */ 33 if( status == -1 ) 36 37 if ( status == -1 ) 34 38 return; 35 39 -
cpukit/libcsupport/src/telldir.c
r3fb2a8da r19b74f31 17 17 #include <stdlib.h> 18 18 #include <unistd.h> 19 #include <errno.h> 19 20 20 21 #include "libio_.h" … … 27 28 rtems_libio_t *iop; 28 29 30 if ( !dirp ) 31 set_errno_and_return_minus_one( EBADF ); 32 29 33 /* 30 * Get the file control block structure associated with the file descriptor 34 * Get the file control block structure associated with the 35 * file descriptor 31 36 */ 32 37
Note: See TracChangeset
for help on using the changeset viewer.