Pixar Arch 0.25.8
Loading...
Searching...
No Matches
systemInfo.h
Go to the documentation of this file.
1// Copyright 2016 Pixar
2//
3// Licensed under the terms set forth in the LICENSE.txt file available at
4// https://openusd.org/license.
5//
6// Modified by Jeremy Retailleau.
7
8#ifndef PXR_ARCH_SYSTEM_INFO_H
9#define PXR_ARCH_SYSTEM_INFO_H
10
13
14#include "pxr/arch/pxr.h"
15#include "pxr/arch/api.h"
16#include <string>
17
18ARCH_NAMESPACE_OPEN_SCOPE
19
21ARCH_API
22std::string ArchGetCwd();
23
25ARCH_API
27
29ARCH_API
31
32ARCH_NAMESPACE_CLOSE_SCOPE
33
34#endif // PXR_ARCH_SYSTEM_INFO_H
std::string ArchGetExecutablePath()
Return the path to the program's executable.
int ArchGetPageSize()
Return the system's memory page size. Safe to assume power-of-two.
std::string ArchGetCwd()
Return current working directory as a string.