Lines Matching defs:dp
53 DIR *dp;
72 dp = opendir("t");
73 if ( dp == NULL)
77 entry = readdir(dp);
81 entry = readdir(dp);
86 entry = readdir(dp);
90 here = telldir(dp);
94 entry = readdir(dp);
103 entry = readdir(dp);
108 seekdir(dp, here);
109 entry = readdir(dp);
116 seekdir(dp, here);
117 here = telldir(dp);
118 entry = readdir(dp);
125 seekdir(dp, here);
126 entry = readdir(dp);
133 closedir(dp);
147 DIR *dp;
152 dp = opendir(".");
153 if (dp == NULL)
156 (void)telldir(dp);
158 closedir(dp);
161 dp = opendir(".");
162 if (dp == NULL)
165 (void)telldir(dp);
166 closedir(dp);