This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove trailing whitespace on meta-lines in unit files
[metaconfig.git] / dist / U / lseektype.U
1 ?RCS: $Id$
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 License,
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 License; 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: lseektype.U,v $
12 ?RCS: Revision 3.0.1.1  1994/08/29  16:30:10  ram
13 ?RCS: patch32: now uses new Typedef unit to compute type information
14 ?RCS:
15 ?RCS: Revision 3.0  1993/08/18  12:09:08  ram
16 ?RCS: Baseline for dist 3.0 netwide release.
17 ?RCS:
18 ?MAKE:lseektype: Myread Typedef
19 ?MAKE:  -pick add $@ %<
20 ?S:lseektype:
21 ?S:     This variable defines lseektype to be something like off_t, long,
22 ?S:     or whatever type is used to declare lseek offset's type in the
23 ?S:     kernel (which also appears to be lseek's return type).
24 ?S:.
25 ?C:Off_t (LSEEKTYPE):
26 ?C:     This symbol holds the type used to declare offsets in the kernel.
27 ?C:     It can be int, long, off_t, etc... It may be necessary to include
28 ?C:     <sys/types.h> to get any typedef'ed information.
29 ?C:.
30 ?H:#define Off_t $lseektype             /* <offset> type */
31 ?H:.
32 : see what type lseek is declared as in the kernel
33 set off_t lseektype long stdio.h sys/types.h
34 eval $typedef
35 echo " "
36 dflt="$lseektype"
37 rp="What type is lseek's offset on this system declared as?"
38 . ./myread
39 lseektype="$ans"
40