8000 minix/minix/tests/test17.c at master · Crydsch/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
866 lines (703 loc) · 21.8 KB

test17.c

File metadata and controls

866 lines (703 loc) · 21.8 KB
rmdir(dirname);
}
/* FINISH */
} /* clean_up_the_mess */
void chmod_8_dirs(sw)
int sw; /* if switch == 8, give all different
* mode,else the same mode */
{
int mode;
int i;
if (sw == 8)
mode = 0;
else
mode = sw;
for (i = 0; i < MODES; i++) {
chmod(mode_dir[i], 040000 + mode * 0100);
if (sw == 8) mode++;
}
}
0