home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / bsd.h next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  520 b   |  25 lines

  1.  
  2. #ifndef __BSD_H__
  3. #define __BSD_H__
  4.  
  5. #ifndef _CADDR_T_DEF_
  6. #define _CADDR_T_DEF_
  7. typedef char *        caddr_t;
  8. #endif
  9.  
  10. #if !defined(__GNUC__) && !defined(__SALFORD__)
  11. typedef unsigned short    u_short;
  12. typedef unsigned int    u_int;
  13. typedef unsigned char    u_char;
  14. typedef unsigned long    u_long;
  15.  
  16. typedef unsigned short  uid_t;
  17. typedef unsigned short  gid_t;
  18.  
  19. #define bcopy(a,b,c)        memcpy(b,a,c)
  20. #define bcmp(a,b,c)         memcmp(a,b,c)
  21. #define bzero(a,b)          memset(a,0,b)
  22. #endif
  23.  
  24. #endif /* __BSD_H__ */
  25.