aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/getresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getresuid.c')
-rw-r--r--sysdeps/generic/getresuid.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/getresuid.c b/sysdeps/generic/getresuid.c
index 1cf4326549..227d6b7ded 100644
--- a/sysdeps/generic/getresuid.c
+++ b/sysdeps/generic/getresuid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,1998,2002 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
@@ -19,12 +19,15 @@
#include <errno.h>
#include <unistd.h>
+/* Fetch the effective user ID, real user ID, and saved-set user ID,
+ of the calling process. */
int
-__getresuid (uid_t euid, uid_t ruid, uid_t suid)
+__getresuid (uid_t *euid, uid_t *ruid, uid_t *suid)
{
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__getresuid)
stub_warning (getresuid)
weak_alias (__getresuid, getresuid)