DIR is not meant to be explicit

db4
Doug Coleman 2008-10-19 13:43:42 -05:00
parent a71ca7242a
commit bce8b1eff6
2 changed files with 1 additions and 19 deletions

View File

@ -141,24 +141,6 @@ C-STRUCT: _opaque_pthread_mutex_t
TYPEDEF: _opaque_pthread_mutex_t* __darwin_pthread_mutex_t TYPEDEF: _opaque_pthread_mutex_t* __darwin_pthread_mutex_t
C-STRUCT: DIR
{ "int" "__dd_fd" }
{ "long" "__dd_loc" }
{ "long" "__dd_size" }
{ "char*" "__dd_buf" }
{ "int" "__dd_len" }
{ "long" "__dd_seek" }
{ "long" "__dd_rewind" }
{ "int" "__dd_flags" }
{ "__darwin_pthread_mutex_t" "__dd_lock" }
{ "void*" "__dd_td" } ;
! #define DIRSIZ(dp) \
! ((sizeof (struct direct) - (MAXNAMLEN+1)) + (((dp)->d_namlen+1 + 3) &~ 3))
! __DARWIN_STRUCT_DIRENTRY { \
: __DARWIN_MAXPATHLEN 1024 ; inline : __DARWIN_MAXPATHLEN 1024 ; inline
: __DARWIN_MAXNAMELEN 255 ; inline : __DARWIN_MAXNAMELEN 255 ; inline
: __DARWIN_MAXNAMELEN+1 255 ; inline : __DARWIN_MAXNAMELEN+1 255 ; inline

View File

@ -160,7 +160,7 @@ FUNCTION: int pipe ( int* filedes ) ;
FUNCTION: void* popen ( char* command, char* type ) ; FUNCTION: void* popen ( char* command, char* type ) ;
FUNCTION: ssize_t read ( int fd, void* buf, size_t nbytes ) ; FUNCTION: ssize_t read ( int fd, void* buf, size_t nbytes ) ;
FUNCTION: int readdir_r ( DIR* dirp, dirent* entry, dirent** result ) ; FUNCTION: int readdir_r ( void* dirp, dirent* entry, dirent** result ) ;
FUNCTION: ssize_t readlink ( char* path, char* buf, size_t bufsize ) ; FUNCTION: ssize_t readlink ( char* path, char* buf, size_t bufsize ) ;