mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 07:22:45 +00:00 
			
		
		
		
	 04b9dc2d30
			
		
	
	
		04b9dc2d30
		
	
	
	
	
		
			
			Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			360 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <sys/cdefs.h>
 | |
| #include <sys/types.h>
 | |
| 
 | |
| __BEGIN_DECLS
 | |
| 
 | |
| struct group {
 | |
|     char* gr_name;
 | |
|     char* gr_passwd;
 | |
|     gid_t gr_gid;
 | |
|     char** gr_mem;
 | |
| };
 | |
| 
 | |
| struct group* getgrent();
 | |
| void setgrent();
 | |
| void endgrent();
 | |
| struct group* getgrnam(const char* name);
 | |
| struct group* getgrgid(gid_t);
 | |
| 
 | |
| int initgroups(const char* user, gid_t);
 | |
| 
 | |
| __END_DECLS
 |