ftp.nice.ch/pub/next/unix/graphics/ImageMagick.3.8.6.s.tar.gz#/ImageMagick/magick/nt.h

This is nt.h in view mode; [Download] [Up]

/*
  Windows NT specific include declarations.
*/
#ifndef _NT_H
#define _NT_H

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

#include <windows.h>
#include <errno.h>

/*
  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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.