diff options
Diffstat (limited to 'otherlibs/unix/setgid.c')
-rw-r--r-- | otherlibs/unix/setgid.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/otherlibs/unix/setgid.c b/otherlibs/unix/setgid.c deleted file mode 100644 index bd8810f819..0000000000 --- a/otherlibs/unix/setgid.c +++ /dev/null @@ -1,23 +0,0 @@ -/***********************************************************************/ -/* */ -/* Objective Caml */ -/* */ -/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */ -/* */ -/* Copyright 1996 Institut National de Recherche en Informatique et */ -/* en Automatique. All rights reserved. This file is distributed */ -/* under the terms of the GNU Library General Public License, with */ -/* the special exception on linking described in file ../../LICENSE. */ -/* */ -/***********************************************************************/ - -/* $Id$ */ - -#include <mlvalues.h> -#include "unixsupport.h" - -CAMLprim value unix_setgid(value gid) -{ - if (setgid(Int_val(gid)) == -1) uerror("setgid", Nothing); - return Val_unit; -} |