home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / CAE-GROUP / SCL-WIN3x / SCL.EXE / STAT.H < prev    next >
Text File  |  1994-08-06  |  2KB  |  56 lines

  1.  
  2. #ifdef __O3DB__
  3. #include <OpenOODB.h>
  4. #endif
  5.  
  6. /*
  7.  * Copyright (c) 1989 Stanford University
  8.  *
  9.  * Permission to use, copy, modify, distribute, and sell this software and its
  10.  * documentation for any purpose is hereby granted without fee, provided
  11.  * that the above copyright notice appear in all copies and that both that
  12.  * copyright notice and this permission notice appear in supporting
  13.  * documentation, and that the name of Stanford not be used in advertising or
  14.  * publicity pertaining to distribution of the software without specific,
  15.  * written prior permission.  Stanford makes no representations about
  16.  * the suitability of this software for any purpose.  It is provided "as is"
  17.  * without express or implied warranty.
  18.  *
  19.  * STANFORD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  20.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
  21.  * IN NO EVENT SHALL STANFORD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  22.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  23.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  24.  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  25.  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  26.  */
  27.  
  28. /*
  29.  * C++ interface to Unix file system stat structure
  30.  */
  31.  
  32. #ifndef sys_stat_h
  33.  
  34. #if defined(__cplusplus)
  35. extern "C" {
  36. #endif
  37.  
  38. #define KERNEL
  39. #include "//usr/include/sys/stat.h"
  40. #undef KERNEL
  41.  
  42. /* just in case standard header didn't */
  43. #ifndef sys_stat_h
  44. #define sys_stat_h
  45. #endif
  46.  
  47. extern int stat(const char* path, struct stat*);
  48. extern int fstat(int fd, struct stat*);
  49. extern int lstat(const char* path, struct stat*);
  50.  
  51. #if defined(__cplusplus)
  52. }
  53. #endif
  54.  
  55. #endif
  56.