All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
systemInfo.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_ARCH_SYSTEM_INFO_H
8#define PXR_BASE_ARCH_SYSTEM_INFO_H
9
13
14#include "pxr/pxr.h"
15#include "pxr/base/arch/api.h"
16#include <string>
17
18PXR_NAMESPACE_OPEN_SCOPE
19
22
24ARCH_API
25std::string ArchGetCwd();
26
28ARCH_API
30
32ARCH_API
34
36
37PXR_NAMESPACE_CLOSE_SCOPE
38
39#endif // PXR_BASE_ARCH_SYSTEM_INFO_H
ARCH_API int ArchGetPageSize()
Return the system's memory page size. Safe to assume power-of-two.
ARCH_API std::string ArchGetExecutablePath()
Return the path to the program's executable.
ARCH_API std::string ArchGetCwd()
Return current working directory as a string.