1
/***********************************************************************/
5
/* Copyright 2009 Institut National de Recherche en Informatique et */
6
/* en Automatique. All rights reserved. This file is distributed */
7
/* under the terms of the GNU Library General Public License, with */
8
/* the special exception on linking described in file ../../LICENSE. */
10
/***********************************************************************/
12
/* Contributed by Stephane Glondu <steph@glondu.net> */
14
/* $Id: initgroups.c 9235 2009-04-16 07:23:35Z xleroy $ */
22
#include <sys/types.h>
28
#include "unixsupport.h"
30
CAMLprim value unix_initgroups(value user, value group)
32
if (initgroups(String_val(user), Int_val(group)) == -1) {
33
uerror("initgroups", Nothing);
40
CAMLprim value unix_initgroups(value user, value group)
41
{ invalid_argument("initgroups not implemented"); }