* lee@sandia.gov
*/
-#define _BSD_SOURCE
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#ifndef REDSTORM
-#include <getopt.h>
-#endif
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <sys/queue.h>
+#include <sys/uio.h>
+#include <getopt.h>
+#if defined(SYSIO_LABEL_NAMES)
#include "sysio.h"
-#include "mount.h"
-
-#include "fs_native.h"
-
+#endif
+#include "xtio.h"
#include "test.h"
/*
exit(1);
}
- (void )umask(022);
+ (void )SYSIO_INTERFACE_NAME(umask)(022);
/*
* Source
if (argc - optind)
usage();
- err = rename(spath, dpath);
+ err = SYSIO_INTERFACE_NAME(rename)(spath, dpath);
if (err)
perror("rename");
- _sysio_shutdown();
+ _test_sysio_shutdown();
return err;
}