ReactOS
0.4.16-dev-13-ge2fc578
gid.c
Go to the documentation of this file.
1
/* @(#)gid.c 1.1 11/07/11 Copyright 2011 J. Schilling */
2
/*
3
* Dummy functions for gid handling, used e.g. on MINGW
4
*
5
* Copyright (c) 2011 J. Schilling
6
*/
7
/*
8
* The contents of this file are subject to the terms of the
9
* Common Development and Distribution License, Version 1.0 only
10
* (the "License"). You may not use this file except in compliance
11
* with the License.
12
*
13
* See the file CDDL.Schily.txt in this distribution for details.
14
*
15
* When distributing Covered Code, include this CDDL HEADER in each
16
* file and include the License file CDDL.Schily.txt from this distribution.
17
*/
18
19
#include <
schily/types.h
>
20
#include <
schily/unistd.h
>
21
#include <
schily/standard.h
>
22
#include <
schily/schily.h
>
23
24
#ifndef HAVE_GETGID
25
26
EXPORT
gid_t
27
getgid
()
28
{
29
return
(0);
30
}
31
32
#endif
33
34
#ifndef HAVE_GETEGID
35
36
EXPORT
gid_t
37
getegid
()
38
{
39
return
(0);
40
}
41
42
#endif
43
44
#ifndef HAVE_SETGID
45
46
EXPORT
int
47
setgid
(gid)
48
gid_t
gid;
49
{
50
return
(0);
51
}
52
53
#endif
54
55
#ifndef HAVE_SETEGID
56
57
EXPORT
int
58
setegid
(gid)
59
gid_t
gid;
60
{
61
return
(0);
62
}
63
64
#endif
gid_t
UINT gid_t
Definition:
types.h:89
setgid
EXPORT int setgid(gid_t gid)
Definition:
gid.c:47
getegid
EXPORT gid_t getegid()
Definition:
gid.c:37
setegid
EXPORT int setegid(gid_t gid)
Definition:
gid.c:58
getgid
EXPORT gid_t getgid()
Definition:
gid.c:27
schily.h
types.h
standard.h
EXPORT
Definition:
spec2def.c:21
unistd.h
sdk
tools
mkisofs
schilytools
libschily
gid.c
Generated on Sat Sep 14 2024 06:15:12 for ReactOS by
1.9.6