2 ?RCS: Copyright (c) 1999, Jarkko Hietaniemi
4 ?RCS: You may redistribute only under the terms of the Artistic Licence,
5 ?RCS: as specified in the README file that comes with the distribution.
6 ?RCS: You may reuse parts of this distribution only within the terms of
7 ?RCS: that same Artistic Licence; a copy of which may be found at the root
8 ?RCS: of the source tree for dist 3.0.
10 ?MAKE:ssizesize: Myread Typedef ssizetype Compile run
11 ?MAKE: -pick add $@ %< run
13 ?S: This variable contains the size of a ssizetype in bytes.
16 ?C: This symbol holds the size of a Ssize_t in bytes.
18 ?H:#define Ssize_t_size $ssizesize /**/
22 : Check size of Ssize_t
25 *_t) zzz="$ssizetype" ;;
26 *) zzz="signed filesize" ;;
28 echo "Checking the size of $zzz..." >&4
30 #include <sys/types.h>
33 printf("%d\n", (int)sizeof($ssizetype));
38 if eval $compile_ok; then
42 echo "(I can't execute the test program--guessing $ssizesize.)" >&4
45 echo "Your $zzz size is $ssizesize bytes."
50 echo "(I can't compile the test program--guessing $ssizesize.)" >&4