Coda Distributed File System
lib-src
base
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
9
This code is distributed "AS IS" without warranty of any kind under
10
the terms of the GNU General Public Licence Version 2, as shown in the
11
file LICENSE. The technical and financial contributors to Coda are
12
listed 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
23
extern
"C"
{
24
#endif
25
26
#include <sys/types.h>
27
#include <unistd.h>
28
29
int
getpeereid
(
int
sock, uid_t *
euid
, gid_t *egid);
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
/* _GETPEEREID_H_ */
getpeereid
int getpeereid(int sock, uid_t *euid, gid_t *egid)
Definition:
getpeereid.c:34
euid
vuid_t euid
Definition:
hoard.cc:81
Generated by
1.9.4