stdcpp/tsrc/Stdcpp_test/stdcxx/include/environ.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 /************************************************************************
       
     2  *
       
     3  * environ.h - declarations of testsuite helpers
       
     4  *
       
     5  * $Id: environ.h 290013 2005-09-18 23:47:55Z sebor $
       
     6  *
       
     7  ************************************************************************
       
     8  *
       
     9  * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
       
    10  * Software division. Licensed under the Apache License, Version 2.0 (the
       
    11  * "License");  you may  not use this file except  in compliance with the
       
    12  * License.    You    may   obtain   a   copy   of    the   License    at
       
    13  * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
       
    14  * applicable law  or agreed to  in writing,  software  distributed under
       
    15  * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
       
    16  * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
       
    17  * for the specific language governing permissions  and limitations under
       
    18  * the License.
       
    19  *
       
    20  **************************************************************************/
       
    21 
       
    22 #ifndef RW_ENVIRON_H_INCLUDED
       
    23 #define RW_ENVIRON_H_INCLUDED
       
    24 
       
    25 
       
    26 #include <testdefs.h>
       
    27 
       
    28 
       
    29 // rw_putenv is a wrapper for the C standard library putenv function
       
    30 // when called with the first argument of 0, rw_putenv defines any
       
    31 // environment variables specified in the RW_PUTENV environment
       
    32 // variable (e.g., RW_PUTENV=:foo=1:bar=2 will cause the variables
       
    33 // foo=1 and bar=2 to be defined in the environment)
       
    34 _TEST_EXPORT int
       
    35 rw_putenv (const char*, int = -1);
       
    36 
       
    37 
       
    38 #endif   // RW_ENVIRON_H_INCLUDED