_seekdir.c File Reference

#include <lib.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <errno.h>

Include dependency graph for _seekdir.c:

Go to the source code of this file.

Defines

#define nil   0
#define lseek   _lseek
#define readdir   _readdir
#define seekdir   _seekdir

Functions

int seekdir (DIR *dp, off_t pos)


Define Documentation

#define lseek   _lseek
 

Definition at line 6 of file _seekdir.c.

Referenced by add(), add_dir(), addrread(), alloc(), allocate(), ar_fow(), ar_open(), ar_rdsync(), ar_rev(), ar_set_wr(), ar_write(), beforedo(), blk_ok(), blkflush(), boot_readwrite(), bskip(), cachedhcp(), chk_ftime(), cmd_errlist(), cmd_write(), commitpool(), copy_member(), copylink(), crash_check(), deliver(), devio(), df(), disk_io(), do_exec(), DOrretr(), DOrstor(), dump_all_segs(), dump_stack(), file_flush(), file_write(), filechar(), find_exist(), findwhen(), fsversion(), get_args(), get_block(), get_file(), get_member(), get_rawblock(), get_super_block(), get_system_type(), getn(), getstat(), getsuper(), gnu_load(), gzlog_close(), gzlog_open(), gzlog_write(), gzscan(), iosetup(), keep_reading(), Lseek(), main(), mt_lseek(), nextblock(), open_archive(), openredirect(), patch_stack(), peek(), poke(), preserve(), proc_dir(), process(), purgeline(), pushio(), put_block(), putboot(), rd_fdopen(), read_block(), read_device(), Read_Disk(), read_header(), read_info(), read_more(), readblock(), readcutblk(), readfs(), recomp(), recvfile(), rw_inode(), rw_super(), sbx_rdf(), sbx_tset(), Search(), seekdir(), sendfile(), set_bit(), setstat(), size_device(), skip(), stack_trace(), storename(), strip(), subr(), swapon(), syminit(), test04(), test06(), test11(), test11a(), test16a(), test19b(), test19d(), test19e(), test19f(), test19g(), test25b(), test26a(), test26b(), test26c(), test30a(), test38a(), test38b(), test39e(), tmpsave(), touch(), undo(), verify_track(), video_base(), write_header(), write_table(), write_wave_header(), Write_Word(), writeblock(), and wtmp().

#define nil   0
 

Definition at line 4 of file _seekdir.c.

#define readdir   _readdir
 

Definition at line 7 of file _seekdir.c.

Referenced by add_file(), adddir(), checkdir(), chk_dir(), collect(), descend(), do_change(), do_chown(), dodir(), eat_dir(), enter(), find(), finddev(), FindMatches(), fts_build(), getcwd(), getdevices(), job(), listdir(), load_crontabs(), main(), maketree(), rsource(), seekdir(), tab_find_atjob(), test24a(), test28a(), trysubmandir(), ttyname(), and unix_dir_loop().

#define seekdir   _seekdir
 

Definition at line 8 of file _seekdir.c.

Referenced by rewinddir().


Function Documentation

int seekdir DIR dp,
off_t  pos
 

Definition at line 14 of file _seekdir.c.

References DIR::_buf, DIR::_count, DIR::_fd, DIR::_pos, DIR::_ptr, EBADF, errno, lseek, nil, off, readdir, and SEEK_SET.


Generated on Fri Apr 14 23:17:20 2006 for minix by  doxygen 1.4.6