+/*
+ * [XSI] The implementation may implement message queues, semaphores, or
+ * shared memory objects as distinct file types. The following macros
+ * shall be provided to test whether a file is of the specified type.
+ * The value of the buf argument supplied to the macros is a pointer to
+ * a stat structure. The macro shall evaluate to a non-zero value if
+ * the specified object is implemented as a distinct file type and the
+ * specified file type is contained in the stat structure referenced by
+ * buf. Otherwise, the macro shall evaluate to zero.
+ *
+ * NOTE: The current implementation does not do this, although
+ * this may change in future revisions, and co currently only
+ * provides these macros to ensure source compatability with
+ * implementations which do.
+ */
+#define S_TYPEISMQ(buf) (0) /* Test for a message queue */
+#define S_TYPEISSEM(buf) (0) /* Test for a semaphore */
+#define S_TYPEISSHM(buf) (0) /* Test for a shared memory object */
+
+/*
+ * [TYM] The implementation may implement typed memory objects as distinct
+ * file types, and the following macro shall test whether a file is of the
+ * specified type. The value of the buf argument supplied to the macros is
+ * a pointer to a stat structure. The macro shall evaluate to a non-zero
+ * value if the specified object is implemented as a distinct file type and
+ * the specified file type is contained in the stat structure referenced by
+ * buf. Otherwise, the macro shall evaluate to zero.
+ *
+ * NOTE: The current implementation does not do this, although
+ * this may change in future revisions, and co currently only
+ * provides this macro to ensure source compatability with
+ * implementations which do.
+ */
+#define S_TYPEISTMO(buf) (0) /* Test for a typed memory object */
+
+
+#ifndef _POSIX_C_SOURCE