If your operating system supports these services, they are likely to be provided
in C via functions named mkdir and rmdir. Removing a directory's contents as
well will require listing them and calling remove . If you don't have these
C functions available, try system along with your operating system's delete
command(s).