2002-05-17 01:37:15 +00:00
|
|
|
/* $Id: resource.h,v 1.3 2002/05/17 01:37:15 hyperion Exp $
|
2002-02-20 09:17:58 +00:00
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
2002-02-20 07:13:22 +00:00
|
|
|
#ifndef __SYS_RESOURCE_H_INCLUDED__
|
|
|
|
#define __SYS_RESOURCE_H_INCLUDED__
|
|
|
|
|
2002-02-20 09:17:58 +00:00
|
|
|
/* INCLUDES */
|
2002-05-17 01:37:15 +00:00
|
|
|
#include <sys/time.h>
|
2002-02-20 09:17:58 +00:00
|
|
|
|
|
|
|
/* OBJECTS */
|
|
|
|
|
|
|
|
/* TYPES */
|
2002-05-17 01:37:15 +00:00
|
|
|
struct rusage
|
|
|
|
{
|
|
|
|
struct timeval ru_utime; /* user time used */
|
|
|
|
struct timeval ru_stime; /* system time used */
|
|
|
|
};
|
2002-02-20 09:17:58 +00:00
|
|
|
|
|
|
|
/* CONSTANTS */
|
|
|
|
|
|
|
|
/* PROTOTYPES */
|
|
|
|
|
|
|
|
/* MACROS */
|
|
|
|
|
2002-02-20 07:13:22 +00:00
|
|
|
#endif /* __SYS_RESOURCE_H_INCLUDED__ */
|
|
|
|
|
|
|
|
/* EOF */
|
|
|
|
|