CCL Home Page
Up Directory CCL nt.h
/*
  Windows NT specific include declarations.
*/
#ifndef _NT_H
#define _NT_H

#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

#include 
#include 

/*
  Define declarations.
*/
#define S_IREAD  00400
#define S_IWRITE  00200

/*
  Typedef declarations.
*/
typedef struct _DIR
{
  HANDLE
    hSearch;

  WIN32_FIND_DATA
    Win32FindData;
} DIR;

struct dirent
{
  char
     d_name[2048];
 
  int
    d_namlen;
};

/*
  NT utilities routines.
*/
extern int
  Exit(int),
  systemNT(char *);

extern long
  telldir(DIR *);

extern DIR
  *opendir(char *);
 
extern struct dirent
  *readdir(DIR *);
 
extern void
  closedir(DIR *),
  seekdir(DIR *,long);

#if defined(__cplusplus) || defined(c_plusplus)
}
#endif

#endif
Modified: Wed May 7 00:31:39 1997 GMT
Page accessed 4593 times since Sat Apr 17 22:03:52 1999 GMT