This file is indexed.

/usr/include/falcon/dir_sys_unix.h is in falconpl-dev 0.9.6.9-git20120606-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
   FALCON - The Falcon Programming Language.
   FILE: dir_sys_unix.h

   Support for directory oriented operations in unix systems
   -------------------------------------------------------------------
   Author: Giancarlo Niccolai
   Begin: dom nov 7 2004

   -------------------------------------------------------------------
   (C) Copyright 2004: the FALCON developers (see list in AUTHORS file)

   See LICENSE file for licensing details.
*/

/** \file
   Support for directory oriented operations in unix systems.
*/

#ifndef flc_dir_sys_unix_H
#define flc_dir_sys_unix_H

#include <falcon/filestat.h>
#include <falcon/dir_sys.h>

#include <sys/types.h>
#include <dirent.h>


namespace Falcon {

class String;

/** Support for low level directory system for unix. */
class DirEntry_unix: public DirEntry
{

protected:
   DIR *m_raw_dir;

public:
   DirEntry_unix( const String &p, DIR *d ):
      DirEntry(p),
      m_raw_dir( d )
   {}

   virtual ~DirEntry_unix() {
      close();
   }

   virtual bool read( String &dir );
   virtual void close();
};

}


#endif

/* end of dir_sys_unix.h */