~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmake/vmsdir.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* dirent.h for vms */
 
2
 
 
3
#include <rms.h>
 
4
 
 
5
#define MAXNAMLEN       255
 
6
 
 
7
#ifndef __DECC
 
8
typedef unsigned long u_long;
 
9
typedef unsigned short u_short;
 
10
#endif
 
11
 
 
12
struct  direct {
 
13
  off_t d_off;
 
14
  u_long d_fileno;
 
15
  u_short d_reclen;
 
16
  u_short d_namlen;
 
17
  char d_name[MAXNAMLEN + 1];
 
18
};
 
19
 
 
20
#undef DIRSIZ
 
21
#define DIRSIZ(dp)  \
 
22
        (((sizeof (struct direct) - (MAXNAMLEN+1) + ((dp)->d_namlen+1)) + 3) & ~3)
 
23
 
 
24
#define d_ino   d_fileno                /* compatability */
 
25
 
 
26
 
 
27
/*
 
28
 * Definitions for library routines operating on directories.
 
29
 */
 
30
 
 
31
typedef struct FAB DIR;
 
32
 
 
33
#ifndef NULL
 
34
#define NULL 0
 
35
#endif
 
36
extern  DIR *opendir PARAMS (());
 
37
extern  struct direct *readdir PARAMS ((DIR *dfd));
 
38
#define rewinddir(dirp) seekdir((dirp), (long)0)
 
39
extern  int closedir PARAMS ((DIR *dfd));
 
40
extern char *vmsify PARAMS ((char *name, int type));
 
41
 
 
42
/* EOF */