path: root/mcon/U/sizetype.U
diff options
Diffstat (limited to 'mcon/U/sizetype.U')
1 files changed, 40 insertions, 0 deletions
diff --git a/mcon/U/sizetype.U b/mcon/U/sizetype.U
new file mode 100644
index 0000000..db8cd21
--- /dev/null
+++ b/mcon/U/sizetype.U
@@ -0,0 +1,40 @@
+?RCS: $Id: sizetype.U,v 1994/08/29 16:32:10 ram Exp $
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: as specified in the README file that comes with the distribution.
+?RCS: You may reuse parts of this distribution only within the terms of
+?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 3.0.
+?RCS: Original Author: Andy Dougherty <>
+?RCS: $Log: sizetype.U,v $
+?RCS: Revision 1994/08/29 16:32:10 ram
+?RCS: patch32: created by ADO
+?MAKE:sizetype: Myread Typedef
+?MAKE: -pick add $@ %<
+?S: This variable defines sizetype to be something like size_t,
+?S: unsigned long, or whatever type is used to declare length
+?S: parameters for string functions.
+?C: This symbol holds the type used to declare length parameters
+?C: for string functions. It is usually size_t, but may be
+?C: unsigned long, int, etc. It may be necessary to include
+?C: <sys/types.h> to get any typedef'ed information.
+?H:#define Size_t $sizetype /* length paramater for string functions */
+: see what type is used for size_t
+set size_t sizetype 'unsigned int' stdio.h sys/types.h
+eval $typedef
+echo " "
+rp="What type is used for the length parameter for string functions?"
+. ./myread