Changeset d006519b in rtems for c/src/lib/libc/link.c


Ignore:
Timestamp:
Apr 15, 1999, 7:01:32 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4bfb139
Parents:
a68e6b9
Message:

Added reentrant versions.

File:
1 edited

Legend:

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

    ra68e6b9 rd006519b  
    5959  return (*parent_loc.ops->link)( &existing_loc, &parent_loc, name_start );
    6060}
     61
     62/*
     63 *  _link_r
     64 *
     65 *  This is the Newlib dependent reentrant version of link().
     66 */
     67
     68#if defined(RTEMS_NEWLIB)
     69
     70#include <reent.h>
     71
     72int _link_r(
     73  struct _reent *ptr,
     74  const char    *existing,
     75  const char    *new
     76)
     77{
     78  return link( existing, new );
     79}
     80#endif
     81
Note: See TracChangeset for help on using the changeset viewer.