Changeset 2107 for trunk/src


Ignore:
Timestamp:
Dec 18, 1999, 3:32:24 PM (26 years ago)
Author:
sandervl
Message:

JW: Removed the ERRNO Defs from CRTINC.H and included ERRNO.H

Location:
trunk/src/crtdll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/crtdll/crtdll.cpp

    r2056 r2107  
    1 /* $Id: crtdll.cpp,v 1.15 1999-12-11 13:33:30 sandervl Exp $ */
     1/* $Id: crtdll.cpp,v 1.16 1999-12-18 14:32:23 sandervl Exp $ */
    22
    33/*
     
    4343#include <search.h>
    4444#include <heap.h>
     45#include <errno.h>
    4546#include <sys\utime.h>
    4647#include <sys\stat.h>
  • trunk/src/crtdll/crtinc.h

    r1900 r2107  
    1 /* $Id: crtinc.h,v 1.10 1999-11-30 20:42:10 sandervl Exp $ */
     1/* $Id: crtinc.h,v 1.11 1999-12-18 14:32:24 sandervl Exp $ */
    22
    33/* Definitions for the CRTDLL library (CRTDLL.DLL)
     
    1010#define MAX_PATHNAME_LEN 260
    1111#endif
    12 
    13 // Errno Defs
    14 #define EPERM           1       /* Operation not permitted */
    15 #define ENOFILE         2       /* No such file or directory */
    16 #define ENOENT          2
    17 #define ESRCH           3       /* No such process */
    18 #define EINTR           4       /* Interrupted function call */
    19 #define EIO             5       /* Input/output error */
    20 #define ENXIO           6       /* No such device or address */
    21 #define E2BIG           7       /* Arg list too long */
    22 #define ENOEXEC         8       /* Exec format error */
    23 #define EBADF           9       /* Bad file descriptor */
    24 #define ECHILD          10      /* No child processes */
    25 #define EAGAIN          11      /* Resource temporarily unavailable */
    26 #define ENOMEM          12      /* Not enough space */
    27 #define EACCES          13      /* Permission denied */
    28 #define EFAULT          14      /* Bad address */
    29 /* 15 - Unknown Error */
    30 #define EBUSY           16      /* strerror reports "Resource device" */
    31 #define EEXIST          17      /* File exists */
    32 #define EXDEV           18      /* Improper link (cross-device link?) */
    33 #define ENODEV          19      /* No such device */
    34 #define ENOTDIR         20      /* Not a directory */
    35 #define EISDIR          21      /* Is a directory */
    36 #define EINVAL          22      /* Invalid argument */
    37 #define ENFILE          23      /* Too many open files in system */
    38 #define EMFILE          24      /* Too many open files */
    39 #define ENOTTY          25      /* Inappropriate I/O control operation */
    40 /* 26 - Unknown Error */
    41 #define EFBIG           27      /* File too large */
    42 #define ENOSPC          28      /* No space left on device */
    43 #define ESPIPE          29      /* Invalid seek (seek on a pipe?) */
    44 #define EROFS           30      /* Read-only file system */
    45 #define EMLINK          31      /* Too many links */
    46 #define EPIPE           32      /* Broken pipe */
    47 #define EDOM            33      /* Domain error (math functions) */
    48 #define ERANGE          34      /* Result too large (possibly too small) */
    49 /* 35 - Unknown Error */
    50 #define EDEADLOCK       36      /* Resource deadlock avoided (non-Cyg) */
    51 #define EDEADLK         36
    52 /* 37 - Unknown Error */
    53 #define ENAMETOOLONG    38      /* Filename too long (91 in Cyg?) */
    54 #define ENOLCK          39      /* No locks available (46 in Cyg?) */
    55 #define ENOSYS          40      /* Function not implemented (88 in Cyg?) */
    56 #define ENOTEMPTY       41      /* Directory not empty (90 in Cyg?) */
    57 #define EILSEQ          42      /* Illegal byte sequence */
    58 
    5912
    6013// MBC Defs
Note: See TracChangeset for help on using the changeset viewer.