In this task, the job is to create a new empty file called "output.txt" of size 0 bytes
and an empty directory called "docs". This should be done twice: once "here", i.e. in the current working directory and once in the filesystem root.

# Make a directory using the -mkdir- program
void
mkdir(text p)
{
    sshell ss;
 
    b_cast(ss_path(ss), "mkdir");
 
    l_append(ss_argv(ss), "mkdir");
    l_append(ss_argv(ss), p);
 
    ss_link(ss);
}
 
void
create_file(text p)
{
    file f;
 
    f_open(f, p, OPEN_CREATE | OPEN_TRUNCATE | OPEN_WRITEONLY, 00644);
}
 
void
create_pair(text prefix)
{
    create_file(cat(prefix, "output.txt"));
    mkdir(cat(prefix, "docs"));
}
 
integer
main(void)
{
    create_pair("");
    create_pair("/");
 
    return 0;
}