home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / id-utils-3.2-src.tgz / tar.out / fsf / id-utils / lib / xunistd.h < prev   
C/C++ Source or Header  |  1996-09-28  |  1KB  |  45 lines

  1. /* xunistd.h -- unistd declarations wrapper
  2.    Copyright (C) 1996 Free Software Foundation, Inc.
  3.  
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2, or (at your option)
  7.    any later version.
  8.  
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. */
  18.  
  19. #if HAVE_SYS_TYPES_H
  20. # include <sys/types.h>
  21. #endif
  22.  
  23. #define sbrk sidestep_sbrk_declaration
  24. #if HAVE_UNISTD_H
  25. # include <unistd.h>
  26. #endif
  27. #undef sbrk
  28. void *sbrk ();
  29.  
  30. #ifndef _POSIX_VERSION
  31. off_t lseek ();
  32. #endif
  33.  
  34. #ifndef STDIN_FILENO
  35. #define STDIN_FILENO 0
  36. #endif
  37.  
  38. #ifndef STDOUT_FILENO
  39. #define STDOUT_FILENO 1
  40. #endif
  41.  
  42. #ifndef STDERR_FILENO
  43. #define STDERR_FILENO 2
  44. #endif
  45.