SysV IPC headers
[reactos.git] / posix / include / sys / resource.h
index 2e74b0b..7e9d8d1 100644 (file)
@@ -1,6 +1,48 @@
+/* $Id: resource.h,v 1.3 2002/05/17 01:37:15 hyperion Exp $
+ */
+/*
+ * sys/resource.h
+ *
+ * definitions for XSI resource operations. Conforming to the Single UNIX(r)
+ * Specification Version 2, System Interface & Headers Issue 5
+ *
+ * This file is part of the ReactOS Operating System.
+ *
+ * Contributors:
+ *  Created by KJK::Hyperion <noog@libero.it>
+ *
+ *  THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ *  This source code is offered for use in the public domain. You may
+ *  use, modify or distribute it freely.
+ *
+ *  This code is distributed in the hope that it will be useful but
+ *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
+ *  DISCLAMED. This includes but is not limited to warranties of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ */
 #ifndef __SYS_RESOURCE_H_INCLUDED__
 #define __SYS_RESOURCE_H_INCLUDED__
 
+/* INCLUDES */
+#include <sys/time.h>
+
+/* OBJECTS */
+
+/* TYPES */
+struct rusage
+{
+ struct timeval ru_utime; /* user time used */
+ struct timeval ru_stime; /* system time used */
+};
+
+/* CONSTANTS */
+
+/* PROTOTYPES */
+
+/* MACROS */
+
 #endif /* __SYS_RESOURCE_H_INCLUDED__ */
 
 /* EOF */