Changeset 41c58154 in rtems for c/src/lib/libc/syscalls.c


Ignore:
Timestamp:
Mar 10, 1997, 7:38:06 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1dc3500
Parents:
a3cfa9f
Message:

made some of this conditional on unix lib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/syscalls.c

    ra3cfa9f r41c58154  
    1 #if !defined(RTEMS_UNIX)
    2 
    31/*
    42 *  RTEMS Fake System Calls
     
    2826#include <stdio.h>  /* only for puts */
    2927
     28#include <rtems.h>
     29
     30#ifdef RTEMS_NEWLIB
    3031/*
    3132 *  fstat, stat, and isatty must lie consistently and report that everything
     
    5152}
    5253
     54#if !defined(RTEMS_UNIX)
    5355int stat( const char *path, struct stat *buf )
    5456{
     
    9496  return -1;
    9597}
     98#endif
    9699
    97100#endif
Note: See TracChangeset for help on using the changeset viewer.