1 ?RCS: Copyright (c) 2017 H.Merijn Brand (original change by Tony Cook)
3 ?RCS: You may distribute under the terms of either the GNU General Public
4 ?RCS: License or the Artistic License, as specified in the README file.
6 ?MAKE:d_openat d_unlinkat d_renameat d_linkat d_fchmodat: Inlibc
9 ?S: This variable conditionally defines the HAS_FCHMODAT symbol, which
10 ?S: indicates the POSIX fchmodat() function is available.
13 ?S: This variable conditionally defines the HAS_LINKAT symbol, which
14 ?S: indicates the POSIX linkat() function is available.
17 ?S: This variable conditionally defines the HAS_OPENAT symbol, which
18 ?S: indicates the POSIX openat() function is available.
21 ?S: This variable conditionally defines the HAS_RENAMEAT symbol, which
22 ?S: indicates the POSIX renameat() function is available.
25 ?S: This variable conditionally defines the HAS_UNLINKAT symbol, which
26 ?S: indicates the POSIX unlinkat() function isavailable.
29 ?C: This symbol is defined if the fchmodat() routine is available.
32 ?C: This symbol is defined if the linkat() routine is available.
35 ?C: This symbol is defined if the openat() routine is available.
38 ?C: This symbol is defined if the renameat() routine is available.
41 ?C: This symbol is defined if the unlinkat() routine is available.
43 ?H:#$d_fchmodat HAS_FCHMODAT /**/
44 ?H:#$d_linkat HAS_LINKAT /**/
45 ?H:#$d_openat HAS_OPENAT /**/
46 ?H:#$d_renameat HAS_RENAMEAT /**/
47 ?H:#$d_unlinkat HAS_UNLINKAT /**/
49 ?LINT:set d_openat d_unlinkat d_renameat d_linkat d_fchmodat
50 : check for openat, unlinkat, renameat, linkat, fchmodat
54 set unlinkat d_unlinkat
57 set renameat d_renameat
63 set fchmodat d_fchmodat