bit mask for the file type bit fields for example:printf("File type: ");switch (sb.st_mode & S_IFMT) { case S_IFBLK: printf("block device\n"); break;case S_IFCHR: printf("character device\n"); break;case S_IFDIR: printf("directory\n"); break;case...