Home | History | Annotate | Download | only in aix

Lines Matching refs:stbuf

70 static int CheckDrive(char *drive, struct stat *stbuf)
78 if ( stat(drive, stbuf) < 0 ) {
84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
111 static void AddDrive(char *drive, struct stat *stbuf)
120 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
135 SDL_cdmode[i] = stbuf->st_rdev;
198 struct stat stbuf;
206 if ( CheckDrive( text, &stbuf) > 0)
208 AddDrive( text, &stbuf);
230 struct stat stbuf;
246 if ( CheckDrive( entry.fs_spec, &stbuf) > 0)
248 AddDrive( entry.fs_spec, &stbuf);
260 struct stat stbuf;
273 if ( CheckDrive( entry->fs_spec, &stbuf) > 0)
275 AddDrive( entry->fs_spec, &stbuf);
289 struct stat stbuf;
320 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
321 AddDrive(SDLcdrom, &stbuf);