mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-29 13:42:37 +00:00 
			
		
		
		
	 1682f0b760
			
		
	
	
		1682f0b760
		
	
	
	
	
		
			
			SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			477 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #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
 |