#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifndef REDSTORM
-#include <getopt.h>
-#else
#include <unistd.h>
-#endif
#include <errno.h>
#include <sys/types.h>
-#include <sys/queue.h>
#if 0
#include <dirent.h>
#endif
+#include <sys/uio.h>
+#include <getopt.h>
+#if defined(SYSIO_LABEL_NAMES)
#include "sysio.h"
-#include "mount.h"
-
+#endif
+#include "xtio.h"
#include "test.h"
/*
/*
* Clean up.
*/
- _sysio_shutdown();
+ _test_sysio_shutdown();
return 0;
}
unlinkit(const char *path)
{
- if (unlink(path) != 0) {
+ if (SYSIO_INTERFACE_NAME(unlink)(path) != 0) {
perror(path);
return -1;
}