All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
setenv.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_BASE_TF_SETENV_H
8#define PXR_BASE_TF_SETENV_H
9
13
14#include "pxr/pxr.h"
15
16#include "pxr/base/tf/api.h"
17#include <string>
18
19PXR_NAMESPACE_OPEN_SCOPE
20
33TF_API
34bool TfSetenv(const std::string& envName, const std::string& value);
35
48TF_API
49bool TfUnsetenv(const std::string& envName);
50
51PXR_NAMESPACE_CLOSE_SCOPE
52
53#endif // PXR_BASE_TF_SETENV_H
TF_API bool TfSetenv(const std::string &envName, const std::string &value)
Set an environment variable.
TF_API bool TfUnsetenv(const std::string &envName)
Unset an environment variable.