From 371472d9fb6a936149b105a6563a0550d35bdf1a Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Mon, 1 Dec 2003 17:11:15 +0000 Subject: Initial import of upstream branch Initial import of upstream branch git-archimport-id: srivasta@debian.org--2003-primary/dist--upstream--3.70--base-0 --- mcon/U/modetype.U | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mcon/U/modetype.U (limited to 'mcon/U/modetype.U') diff --git a/mcon/U/modetype.U b/mcon/U/modetype.U new file mode 100644 index 0000000..9168322 --- /dev/null +++ b/mcon/U/modetype.U @@ -0,0 +1,40 @@ +?RCS: $Id: modetype.U,v 3.0.1.1 1994/10/29 16:25:07 ram Exp $ +?RCS: +?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: +?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: +?RCS: Original Author: Andy Dougherty +?RCS: +?RCS: $Log: modetype.U,v $ +?RCS: Revision 3.0.1.1 1994/10/29 16:25:07 ram +?RCS: patch36: created by ADO +?RCS: +?MAKE:modetype: Myread Typedef +?MAKE: -pick add $@ %< +?S:modetype: +?S: This variable defines modetype to be something like mode_t, +?S: int, unsigned short, or whatever type is used to declare file +?S: modes for system calls. +?S:. +?C:Mode_t: +?C: This symbol holds the type used to declare file modes +?C: for systems calls. It is usually mode_t, but may be +?C: int or unsigned short. It may be necessary to include +?C: to get any typedef'ed information. +?C:. +?H:#define Mode_t $modetype /* file mode parameter for system calls */ +?H:. +: see what type is used for mode_t +set mode_t modetype int stdio.h sys/types.h +eval $typedef +dflt="$modetype" +echo " " +rp="What type is used for file modes?" +. ./myread +modetype="$ans" + -- cgit v1.2.3