1 ?RCS: $Id: modetype.U,v 3.0.1.1 1994/10/29 16:25:07 ram Exp $
3 ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
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 3.0.
11 ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu>
13 ?RCS: $Log: modetype.U,v $
14 ?RCS: Revision 3.0.1.1 1994/10/29 16:25:07 ram
15 ?RCS: patch36: created by ADO
17 ?MAKE:modetype: Myread Typedef
18 ?MAKE: -pick add $@ %<
20 ?S: This variable defines modetype to be something like mode_t,
21 ?S: int, unsigned short, or whatever type is used to declare file
22 ?S: modes for system calls.
25 ?C: This symbol holds the type used to declare file modes
26 ?C: for systems calls. It is usually mode_t, but may be
27 ?C: int or unsigned short. It may be necessary to include <sys/types.h>
28 ?C: to get any typedef'ed information.
30 ?H:#define Mode_t $modetype /* file mode parameter for system calls */
33 : see what type is used for mode_t
34 rp="What is the type used for file modes for system calls (e.g. fchmod())?"
35 set mode_t modetype int stdio.h sys/types.h