Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/putenv.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1 /* Copyright (C) 1991, 1994, 1995, 1996 Free Software Foundation, Inc.
     1/* Copyright (C) 1991, 1994, 1995, 1996, 2002 Free Software Foundation, Inc.
    22   This file based on putenv.c in the GNU C Library.
    33
     
    1717   Boston, MA 02111-1307, USA.  */
    1818
     19/*
     20
     21@deftypefn Supplemental int putenv (const char *@var{string})
     22
     23Uses @code{setenv} or @code{unsetenv} to put @var{string} into
     24the environment or remove it.  If @var{string} is of the form
     25@samp{name=value} the string is added; if no @samp{=} is present the
     26name is unset/removed.
     27
     28@end deftypefn
     29
     30*/
     31
    1932#if defined (_AIX) && !defined (__GNUC__)
    2033 #pragma alloca
     
    2639
    2740#include "ansidecl.h"
     41
     42#define putenv libiberty_putenv
    2843
    2944#if HAVE_STDLIB_H
     
    4560# endif /* alloca */
    4661#endif /* HAVE_ALLOCA_H */
     62
     63#undef putenv
    4764
    4865/* Below this point, it's verbatim code from the glibc-2.0 implementation */
Note: See TracChangeset for help on using the changeset viewer.