Lines Matching refs: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);
149 DIR *dp;
154 dp = opendir(".");
155 if (dp == NULL)
158 (void)telldir(dp);
160 closedir(dp);
163 dp = opendir(".");
164 if (dp == NULL)
167 (void)telldir(dp);
168 closedir(dp);