mirror of
				https://github.com/0xFEEDC0DE64/arduino-esp32.git
				synced 2025-10-31 06:01:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _SYS_RESOURCE_H_
 | |
| #define _SYS_RESOURCE_H_
 | |
| 
 | |
| #include <sys/time.h>
 | |
| 
 | |
| #define	RUSAGE_SELF	0		/* calling process */
 | |
| #define	RUSAGE_CHILDREN	-1		/* terminated child processes */
 | |
| 
 | |
| struct rusage {
 | |
|   	struct timeval ru_utime;	/* user time used */
 | |
| 	struct timeval ru_stime;	/* system time used */
 | |
| };
 | |
| 
 | |
| int	_EXFUN(getrusage, (int, struct rusage*));
 | |
| 
 | |
| #endif
 | |
| 
 |