build/myftw.c - Modified ftw() -- uses Lstat() instead of stat().
#include 'system.h'
#include 'rpmio.h'
#include 'myftw.h'
#include 'debug.h'
#define NAMLEN(a) strlen((a)->d_name)
#define PATH_MAX 1024
int myftw_dir (DIR **dirs, int level, int descriptors, char *dir, size_t len, myftwFunc func, void *fl)
int myftw (const char *dir, int descriptors, myftwFunc func, void *fl)
Modified ftw() -- uses Lstat() instead of stat().
Definition at line 30 of file myftw.c.
Definition at line 41 of file myftw.c.
Referenced by myftw(), and myftw_dir().
Definition at line 179 of file myftw.c.
References alloca(), Closedir(), errno, Lstat(), MYFTW_D, myftw_dir(), MYFTW_DNR, MYFTW_F, MYFTW_NS, myftwFunc, Opendir(), and PATH_MAX.
Definition at line 56 of file myftw.c.
References Closedir(), dirent, errno, Lstat(), MYFTW_D, MYFTW_DNR, MYFTW_F, MYFTW_NS, myftwFunc, NAMLEN, Opendir(), PATH_MAX, and Readdir().
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |