Debian Codegraph @

share/libc/cpio.h

raw
1 /**************************************************************************/
2 /* */
3 /* This file is part of Frama-C. */
4 /* */
5 /* Copyright (C) 2007-2022 */
6 /* CEA (Commissariat à l'énergie atomique et aux énergies */
7 /* alternatives) */
8 /* */
9 /* you can redistribute it and/or modify it under the terms of the GNU */
10 /* Lesser General Public License as published by the Free Software */
11 /* Foundation, version 2.1. */
12 /* */
13 /* It is distributed in the hope that it will be useful, */
14 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
15 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
16 /* GNU Lesser General Public License for more details. */
17 /* */
18 /* See the GNU Lesser General Public License version 2.1 */
19 /* for more details (enclosed in the file licenses/LGPLv2.1). */
20 /* */
21 /**************************************************************************/
22
23 #ifndef __FC_CPIO
24 #define __FC_CPIO
25
26 #define C_IRUSR 0000400
27 #define C_IWUSR 0000200
28 #define C_IXUSR 0000100
29 #define C_IRGRP 0000040
30 #define C_IWGRP 0000020
31 #define C_IXGRP 0000010
32 #define C_IROTH 0000004
33 #define C_IWOTH 0000002
34 #define C_IXOTH 0000001
35 #define C_ISUID 0004000
36 #define C_ISGID 0002000
37 #define C_ISVTX 0001000
38 #define C_ISDIR 0040000
39 #define C_ISFIFO 0010000
40 #define C_ISREG 0100000
41 #define C_ISBLK 0060000
42 #define C_ISCHR 0020000
43 #define C_ISCTG 0110000
44 #define C_ISLNK 0120000
45 #define C_ISSOCK 0140000
46
47 #endif