1 ?RCS: $Id: d_pathconf.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
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.
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
13 ?RCS: $Log: d_pathconf.U,v $
14 ?RCS: Revision 3.0.1.1 1994/10/29 16:14:54 ram
15 ?RCS: patch36: created by ADO
17 ?MAKE:d_pathconf d_fpathconf: Inlibc
18 ?MAKE: -pick add $@ %<
20 ?S: This variable conditionally defines the HAS_PATHCONF symbol, which
21 ?S: indicates to the C program that the pathconf() routine is available
22 ?S: to determine file-system related limits and options associated
23 ?S: with a given filename.
26 ?S: This variable conditionally defines the HAS_FPATHCONF symbol, which
27 ?S: indicates to the C program that the pathconf() routine is available
28 ?S: to determine file-system related limits and options associated
29 ?S: with a given open file descriptor.
32 ?C: This symbol, if defined, indicates that pathconf() is available
33 ?C: to determine file-system related limits and options associated
34 ?C: with a given filename.
37 ?C: This symbol, if defined, indicates that pathconf() is available
38 ?C: to determine file-system related limits and options associated
39 ?C: with a given open file descriptor.
41 ?H:#$d_pathconf HAS_PATHCONF /**/
42 ?H:#$d_fpathconf HAS_FPATHCONF /**/
46 : see if pathconf exists
47 set pathconf d_pathconf
50 @if d_fpathconf || HAS_FPATHCONF
51 : see if fpathconf exists
52 set fpathconf d_fpathconf