Subversion Repositories shark

Rev

Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
3
 
4
   The GNU C Library is free software; you can redistribute it and/or
5
   modify it under the terms of the GNU Library General Public License as
6
   published by the Free Software Foundation; either version 2 of the
7
   License, or (at your option) any later version.
8
 
9
   The GNU C Library is distributed in the hope that it will be useful,
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
   Library General Public License for more details.
13
 
14
   You should have received a copy of the GNU Library General Public
15
   License along with the GNU C Library; see the file COPYING.LIB.  If not,
16
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
   Boston, MA 02111-1307, USA.  */
18
 
19
/* MODIFIED */
20
 
21
#ifndef _DIRENT_H
22
# error "Never use <bits/dirent.h> directly; include <dirent.h> instead."
23
#endif
24
 
25
struct dirent
26
  {
27
#ifndef __USE_FILE_OFFSET64
28
    //__ino_t d_ino;
29
    //__off_t d_off;
30
#else
31
    //__ino64_t d_ino;
32
    //__off64_t d_off;
33
#endif
34
    //unsigned short int d_reclen;
35
    //unsigned char d_type;
36
    char d_name[256];           /* We must not include limits.h! */
37
  };
38
 
39
#ifdef __USE_LARGEFILE64
40
struct dirent64
41
  {
42
    //__ino64_t d_ino;
43
    //__off64_t d_off;
44
    //unsigned short int d_reclen;
45
    //unsigned char d_type;
46
    char d_name[256];           /* We must not include limits.h! */
47
  };
48
#endif
49
 
50
#define d_fileno        d_ino   /* Backwards compatibility.  */
51
 
52
#undef  _DIRENT_HAVE_D_NAMLEN
53
#undef  _DIRENT_HAVE_D_RECLEN
54
#undef  _DIRENT_HAVE_D_OFF
55
#undef  _DIRENT_HAVE_D_TYPE
56
 
57
 
58
 
59
 
60