Changeset 72bde81 in mainline for uspace/app/tester/vfs/vfs1.c


Ignore:
Timestamp:
2008-01-27T14:59:32Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2db4ac8
Parents:
1fe186f
Message:

Support for mkdir().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    r1fe186f r72bde81  
    3131#include <stdlib.h>
    3232#include <string.h>
    33 #include <sys/types.h>
    3433#include <vfs.h>
    3534#include <unistd.h>
    3635#include <fcntl.h>
    3736#include <dirent.h>
     37#include <sys/types.h>
     38#include <sys/stat.h>
    3839#include "../tester.h"
    3940
     
    4344                return "Mount failed.\n";
    4445
     46        if (mkdir("/mydir", 0) != 0)
     47                return "mkdir() failed.\n";
    4548
    4649        DIR *dirp;
Note: See TracChangeset for help on using the changeset viewer.