This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[UTIL] Perl system does not default to $_
[metaconfig.git] / dist / U / d_setregid.U
CommitLineData
d8875586
MBT
1?RCS: $Id: d_setregid.U 1 2006-08-24 12:32:52Z rmanfredi $
2?RCS:
3?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4?RCS:
5?RCS: You may redistribute only under the terms of the Artistic Licence,
6?RCS: as specified in the README file that comes with the distribution.
7?RCS: You may reuse parts of this distribution only within the terms of
8?RCS: that same Artistic Licence; a copy of which may be found at the root
9?RCS: of the source tree for dist 4.0.
10?RCS:
11?RCS: $Log: d_setregid.U,v $
12?RCS: Revision 3.0 1993/08/18 12:07:12 ram
13?RCS: Baseline for dist 3.0 netwide release.
14?RCS:
15?MAKE:d_setregid d_setresgid: Inlibc
16?MAKE: -pick add $@ %<
17?S:d_setregid:
18?S: This variable conditionally defines HAS_SETREGID if setregid() is
19?S: available to change the real and effective gid of the current
20?S: process.
21?S:.
22?S:d_setresgid:
23?S: This variable conditionally defines HAS_SETRESGID if setresgid() is
24?S: available to change the real, effective and saved gid of the current
25?S: process.
26?S:.
27?C:HAS_SETREGID (SETREGID):
28?C: This symbol, if defined, indicates that the setregid routine is
29?C: available to change the real and effective gid of the current
30?C: process.
31?C:.
32?C:HAS_SETRESGID (SETRESGID):
33?C: This symbol, if defined, indicates that the setresgid routine is
34?C: available to change the real, effective and saved gid of the current
35?C: process.
36?C:.
37?H:#$d_setregid HAS_SETREGID /**/
38?H:#$d_setresgid HAS_SETRESGID /**/
39?H:.
40?LINT: set d_setregid d_setresgid
41: see if setregid exists
42set setregid d_setregid
43eval $inlibc
44set setresgid d_setresgid
45eval $inlibc
46