Pixar Arch
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 "./api.h"
15#include <string>
16
17namespace pxr {
18
20ARCH_API
21std::string ArchGetCwd();
22
24ARCH_API
26
28ARCH_API
30
31} // namespace pxr
32
33#endif // PXR_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 ArchGetCwd()
Return current working directory as a string.
ARCH_API std::string ArchGetExecutablePath()
Return the path to the program's executable.