This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / fpostype.U
1 ?RCS: $Id: fpostype.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: fpostype.U,v $
12 ?RCS: Revision 3.0.1.2  1994/08/29  16:20:52  ram
13 ?RCS: patch32: now uses new Typedef unit to compute type information
14 ?RCS:
15 ?RCS: Revision 3.0.1.1  1994/06/20  06:59:59  ram
16 ?RCS: patch30: created
17 ?RCS:
18 ?MAKE:fpostype: Myread Typedef
19 ?MAKE:  -pick add $@ %<
20 ?S:fpostype:
21 ?S:     This variable defines Fpos_t to be something like fpost_t, long, 
22 ?S:     uint, or whatever type is used to declare file positions in libc.
23 ?S:.
24 ?C:Fpos_t:
25 ?C:     This symbol holds the type used to declare file positions in libc.
26 ?C:     It can be fpos_t, long, uint, etc... It may be necessary to include
27 ?C:     <sys/types.h> to get any typedef'ed information.
28 ?C:.
29 ?H:#define Fpos_t $fpostype             /* File position type */
30 ?H:.
31 : see what type file positions are declared as in the library
32 set fpos_t fpostype long stdio.h sys/types.h
33 eval $typedef
34 echo " "
35 dflt="$fpostype"
36 rp="What is the type for file position used by fsetpos()?"
37 . ./myread
38 fpostype="$ans"
39