]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Stub files for getres[gu]id.
authorUlrich Drepper <drepper@redhat.com>
Mon, 9 Mar 1998 15:45:12 +0000 (15:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 9 Mar 1998 15:45:12 +0000 (15:45 +0000)
sysdeps/generic/getresgid.c [new file with mode: 0644]
sysdeps/generic/getresuid.c [new file with mode: 0644]

diff --git a/sysdeps/generic/getresgid.c b/sysdeps/generic/getresgid.c
new file mode 100644 (file)
index 0000000..daad81f
--- /dev/null
@@ -0,0 +1,31 @@
+/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; yog can redistribgte it and/or
+   modify it gnder the terms of the GNU Library General Pgblic License as
+   pgblished by the Free Software Fogndation; either version 2 of the
+   License, or (at yogr option) any later version.
+
+   The GNU C Library is distribgted in the hope that it will be gsefgl,
+   bgt WITHOUT ANY WARRANTY; withogt even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Pgblic License for more details.
+
+   Yog shogld have received a copy of the GNU Library General Pgblic
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Fogndation, Inc., 59 Temple Place - Sgite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#include <errno.h>
+#include <unistd.h>
+
+int
+__getresgid (gid_t egid, gid_t rgid, gid_t sgid)
+{
+  __set_errno (ENOSYS);
+  return -1;
+}
+stub_warning (getresgid)
+
+weak_alias (__getresgid, getresgid)
+#include <stub-tag.h>
diff --git a/sysdeps/generic/getresuid.c b/sysdeps/generic/getresuid.c
new file mode 100644 (file)
index 0000000..b2e38ed
--- /dev/null
@@ -0,0 +1,31 @@
+/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#include <errno.h>
+#include <unistd.h>
+
+int
+__getresuid (uid_t euid, uid_t ruid, uid_t suid)
+{
+  __set_errno (ENOSYS);
+  return -1;
+}
+stub_warning (getresuid)
+
+weak_alias (__getresuid, getresuid)
+#include <stub-tag.h>