summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 19:39:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 19:39:45 +0000
commitd1ee44e9271ce15ef966bda215da37957ad29ac8 (patch)
treed90384b5f307c8817ed5f69a09fbfcf1e870ec63
parentAdded base version of file system infrastructure. This includes a major (diff)
downloadrtems-d1ee44e9271ce15ef966bda215da37957ad29ac8.tar.bz2
New files added as part of file system infrastructure effort.
-rw-r--r--c/src/exec/posix/include/sys/ioctl.h17
-rw-r--r--c/src/exec/posix/include/sys/utime.h25
-rw-r--r--c/src/exec/posix/sys/ioctl.h17
-rw-r--r--c/src/exec/posix/sys/utime.h25
4 files changed, 84 insertions, 0 deletions
diff --git a/c/src/exec/posix/include/sys/ioctl.h b/c/src/exec/posix/include/sys/ioctl.h
new file mode 100644
index 0000000000..1020db6079
--- /dev/null
+++ b/c/src/exec/posix/include/sys/ioctl.h
@@ -0,0 +1,17 @@
+/*
+ * $Id$
+ */
+
+#ifndef __SYS_IOCTL_h__
+#define __SYS_IOCTL_h__
+
+/* Functions */
+
+int ioctl(
+ int fd,
+ int request,
+ ...
+);
+
+#endif
+/* end of include file */
diff --git a/c/src/exec/posix/include/sys/utime.h b/c/src/exec/posix/include/sys/utime.h
new file mode 100644
index 0000000000..3e9955e61f
--- /dev/null
+++ b/c/src/exec/posix/include/sys/utime.h
@@ -0,0 +1,25 @@
+/*
+ * $Id$
+ */
+
+#ifndef __UTIME_h__
+#define __UTIME_h__
+
+/*
+ * POSIX 1003.1b 5.6.6 Set File Access and Modification Times
+ */
+
+struct utimbuf {
+ time_t actime; /* Access time */
+ time_t modtime; /* Modification time */
+};
+
+/* Functions */
+
+int utime(
+ const char *path,
+ const struct utimbuf *times
+);
+
+#endif
+/* end of include file */
diff --git a/c/src/exec/posix/sys/ioctl.h b/c/src/exec/posix/sys/ioctl.h
new file mode 100644
index 0000000000..1020db6079
--- /dev/null
+++ b/c/src/exec/posix/sys/ioctl.h
@@ -0,0 +1,17 @@
+/*
+ * $Id$
+ */
+
+#ifndef __SYS_IOCTL_h__
+#define __SYS_IOCTL_h__
+
+/* Functions */
+
+int ioctl(
+ int fd,
+ int request,
+ ...
+);
+
+#endif
+/* end of include file */
diff --git a/c/src/exec/posix/sys/utime.h b/c/src/exec/posix/sys/utime.h
new file mode 100644
index 0000000000..3e9955e61f
--- /dev/null
+++ b/c/src/exec/posix/sys/utime.h
@@ -0,0 +1,25 @@
+/*
+ * $Id$
+ */
+
+#ifndef __UTIME_h__
+#define __UTIME_h__
+
+/*
+ * POSIX 1003.1b 5.6.6 Set File Access and Modification Times
+ */
+
+struct utimbuf {
+ time_t actime; /* Access time */
+ time_t modtime; /* Modification time */
+};
+
+/* Functions */
+
+int utime(
+ const char *path,
+ const struct utimbuf *times
+);
+
+#endif
+/* end of include file */