File: filemode.c

package info (click to toggle)
arj 3.10.22-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,352 kB
  • ctags: 4,701
  • sloc: ansic: 32,990; makefile: 2,034; sh: 1,547; asm: 436
file content (40 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * $Id: filemode.c,v 1.1.1.1 2002/03/28 00:02:55 andrew_belov Exp $
 * ---------------------------------------------------------------------------
 * This module contains  nothing more than a set of "r", "rb", "rb+" and other
 * file access modes, to conserve space in DGROUP.
 *
 */

#include "bindings.h"

/* File modes */

#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFXV||defined(REARJ)||defined(REGISTER)
 char m_r[]="r";
#endif
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX
 char m_w[]="w";
#endif
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX||defined(REARJ)
 char m_rb[]="rb";
#endif
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX||defined(REGISTER)||defined(REARJ)
 char m_rbp[]="rb+";
#endif
#if SFX_LEVEL>=ARJSFXV
 char m_rp[]="r+";
#endif
#if SFX_LEVEL>=ARJSFX||defined(REARJ)
 char m_wb[]="wb";
#endif
#if SFX_LEVEL>=ARJ
 char m_wbp[]="wb+";
#endif
#if SFX_LEVEL>=ARJ||defined(REARJ)
 char m_a[]="a";
#endif
#ifdef ARJUTIL
 char m_abp[]="ab+";
#endif