Home | History | Annotate | Download | only in qnx

Lines Matching refs:stbuf

64 static int CheckDrive(char *drive, struct stat *stbuf)
75 if (stat(drive, stbuf) < 0)
83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode))
110 static void AddDrive(char *drive, struct stat *stbuf)
121 if (stbuf->st_rdev == SDL_cdmode[i])
136 SDL_cdmode[i] = stbuf->st_rdev;
149 struct stat stbuf;
186 if (CheckDrive(SDLcdrom, &stbuf) > 0)
188 AddDrive(SDLcdrom, &stbuf);
225 switch (CheckDrive(drive, &stbuf))
229 AddDrive(drive, &stbuf);
244 if (CheckDrive(drive, &stbuf) > 0)
246 AddDrive(drive, &stbuf);