mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	Formerly unix/sysv/irix4/__getgrps.c.~2~
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
 | 
					/* Copyright (C) 1994 Free Software Foundation, Inc.
 | 
				
			||||||
This file is part of the GNU C Library.
 | 
					This file is part of the GNU C Library.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The GNU C Library is free software; you can redistribute it and/or
 | 
					The GNU C Library is free software; you can redistribute it and/or
 | 
				
			||||||
@@ -21,9 +21,11 @@ Cambridge, MA 02139, USA.  */
 | 
				
			|||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
#include <grp.h>
 | 
					#include <grp.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					extern int __syssgi __P ((int, ...));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Set the group set for the current user to GROUPS (N of them).  */
 | 
					/* Set the group set for the current user to GROUPS (N of them).  */
 | 
				
			||||||
int
 | 
					int
 | 
				
			||||||
DEFUN(getgroups, (n, groups), size_t n AND gid_t *groups)
 | 
					DEFUN(getgroups, (n, groups), size_t n AND gid_t *groups)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  return syssgi(SGI_GETGROUPS, n, groups);
 | 
					  return __syssgi (SGI_GETGROUPS, n, groups);
 | 
				
			||||||
}   
 | 
					}   
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user