1 /***********************************************************************
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
13 * Information and Software Systems Research *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
21 ***********************************************************************/
25 * AT&T Bell Laboratories
27 * fmtmode() and strperm() readonly data
28 * for external format modes
33 struct modeop modetab
[MODELEN
] =
35 0170000, 12, 0000000, 0, "-pc?d?b?-Cl?sDw?",
36 0000400, 8, 0000000, 0, "-r",
37 0000200, 7, 0000000, 0, "-w",
38 0004000, 10, 0000100, 6, "-xSs",
39 0000040, 5, 0000000, 0, "-r",
40 0000020, 4, 0000000, 0, "-w",
42 0003000, 8, 0000010, 3, "-x-xSs-x",
44 0002000, 9, 0000010, 3, "-xls",
46 0000004, 2, 0000000, 0, "-r",
47 0000002, 1, 0000000, 0, "-w",
49 0003000, 8, 0000001, 0, "-xyY-xeE",
51 0001000, 8, 0000001, 0, "-xTt",
55 int permmap
[PERMLEN
] =