Coda Distributed File System
getpeereid.h
Go to the documentation of this file.
1/* BLURB lgpl
2
3 Coda File System
4 Release 6
5
6 Copyright (c) 1987-2003 Carnegie Mellon University
7 Additional copyrights listed below
8
9This code is distributed "AS IS" without warranty of any kind under
10the terms of the GNU General Public Licence Version 2, as shown in the
11file LICENSE. The technical and financial contributors to Coda are
12listed in the file CREDITS.
13
14 Additional copyrights
15 none currently
16
17#*/
18
19#ifndef _GETPEEREID_H_
20#define _GETPEEREID_H_
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <sys/types.h>
27#include <unistd.h>
28
29int getpeereid(int sock, uid_t *euid, gid_t *egid);
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* _GETPEEREID_H_ */
int getpeereid(int sock, uid_t *euid, gid_t *egid)
Definition: getpeereid.c:34
vuid_t euid
Definition: hoard.cc:81